Skip to content

Commit 4be0dab

Browse files
committed
docs: Simplify certificate generation command.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1838 44740490-163a-0410-bde0-09ae8108e29a
1 parent 3b6a04f commit 4be0dab

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

docs/simplesamlphp-idp.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,16 +159,13 @@ Creating a SSL self signed certificate
159159
For test purposes, you can skip this section, and use the certificate
160160
included in the simpleSAMLphp distribution.
161161

162-
Here is an example of `openssl`-commands which can be used to generate
162+
Here is an example of an `openssl`-command which can be used to generate
163163
a new private key key and the corresponding self-signed certificate.
164164
This key and certificate can be used to sign SAML messages:
165165

166-
openssl genrsa -out example.org.pem 1024
167-
openssl req -new -key example.org.pem -out example.org.csr
168-
openssl x509 -req -days 9999 -in example.org.csr -signkey example.org.pem -out example.org.crt
169-
rm example.org.csr
166+
openssl req -new -x509 -days 3652 -nodes -out example.org.crt -keyout example.org.pem
170167

171-
The certificate above will be valid for 9999 days.
168+
The certificate above will be valid for 10 years.
172169

173170

174171
### Note ###

0 commit comments

Comments
 (0)