From 9fcd2d78851c67a84dc7dcc1b53805fe804d8ea0 Mon Sep 17 00:00:00 2001 From: Christophe Nowicki Date: Thu, 16 Sep 2004 13:55:50 +0000 Subject: For multiple virtual hosts with certificat you need to set the CN. It's fixed in the PHP sample README. --- php/Attic/examples/README | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'php') 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 -- cgit