File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,16 +159,13 @@ Creating a SSL self signed certificate
159159For test purposes, you can skip this section, and use the certificate
160160included 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
163163a new private key key and the corresponding self-signed certificate.
164164This 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 ###
You can’t perform that action at this time.
0 commit comments