summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
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