summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-16 13:55:50 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-16 13:55:50 +0000
commit9fcd2d78851c67a84dc7dcc1b53805fe804d8ea0 (patch)
treee6c865b22e4c6c35f040fdcf50dc47cfcae138ee /php
parent60751467524f12aee0681c67ed2be843485d595d (diff)
downloadlasso-9fcd2d78851c67a84dc7dcc1b53805fe804d8ea0.tar.gz
lasso-9fcd2d78851c67a84dc7dcc1b53805fe804d8ea0.tar.xz
lasso-9fcd2d78851c67a84dc7dcc1b53805fe804d8ea0.zip
For multiple virtual hosts with certificat you need to set the CN.
It's fixed in the PHP sample README.
Diffstat (limited to 'php')
-rw-r--r--php/Attic/examples/README6
1 files changed, 5 insertions, 1 deletions
diff --git a/php/Attic/examples/README b/php/Attic/examples/README
index 4beccf46..c75b3cf9 100644
--- a/php/Attic/examples/README
+++ b/php/Attic/examples/README
@@ -86,16 +86,20 @@ CONFIGURATION
To generate SSL certificat for the Identity Provider and the Service
Provider you need the openssl command line utility. You need to create
a certificate, a public and private key :
-
+
# cd /var/www/sp
# openssl req -out certificate_sp1.pem -keyout private-key-raw_sp1.pem -x509 -nodes -newkey rsa:2048
[ ... ]
+ Common Name (eg, YOUR name) []:sp1
+ [ ... ]
# openssl x509 -in certificate_sp1.pem -noout -pubkey > public-key_sp1.pem
# chown www-data: *.pem
# cd /var/www/idp
# openssl req -out certificate_idp1.pem -keyout private-key-raw_idp1.pem -x509 -nodes -newkey rsa:2048
[ ... ]
+ Common Name (eg, YOUR name) []:idp1
+ [ ... ]
# openssl x509 -in certificate_idp1.pem -noout -pubkey > public-key_idp1.pem
# chown www-data: *.pem