summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2005-01-18 14:40:42 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2005-01-18 14:40:42 +0000
commitdd1a48be767f5fc87d58d3ee1216675c033cc94b (patch)
treec9a5c22830e3c519b0b1004d325200b4fd0dc940 /php/Attic/examples/sample-sp
parent02464ae3147f8df3c8d57665669b52008eb25821 (diff)
add a gen_keys.sh script for generating automatically ssl keys
Diffstat (limited to 'php/Attic/examples/sample-sp')
-rw-r--r--php/Attic/examples/sample-sp/sp_openssl.cnf19
1 files changed, 19 insertions, 0 deletions
diff --git a/php/Attic/examples/sample-sp/sp_openssl.cnf b/php/Attic/examples/sample-sp/sp_openssl.cnf
new file mode 100644
index 00000000..f0b622d7
--- /dev/null
+++ b/php/Attic/examples/sample-sp/sp_openssl.cnf
@@ -0,0 +1,19 @@
+[ req ]
+default_bits = 2048
+encrypt_key = yes
+distinguished_name = req_dn
+x509_extensions = cert_type
+prompt = no
+
+[ req_dn ]
+C=FR
+ST=Ile de France
+L=Paris
+O=Entrouvert
+OU=Automatically-generated SSL key
+CN=sp1
+emailAddress=webmaster@domain.com
+
+[ cert_type ]
+nsCertType = server
+