Revision: 1838 Author: olavmrk Date: Sun Oct 11 23:36:41 2009 Log: docs: Simplify certificate generation command. http://code.google.com/p/simplesamlphp/source/detail?r=1838
Modified: /trunk/docs/simplesamlphp-idp.txt ======================================= --- /trunk/docs/simplesamlphp-idp.txt Sun Oct 11 23:36:33 2009 +++ /trunk/docs/simplesamlphp-idp.txt Sun Oct 11 23:36:41 2009 @@ -159,16 +159,13 @@ For test purposes, you can skip this section, and use the certificate included in the simpleSAMLphp distribution. -Here is an example of `openssl`-commands which can be used to generate +Here is an example of an `openssl`-command which can be used to generate a new private key key and the corresponding self-signed certificate. This key and certificate can be used to sign SAML messages: - openssl genrsa -out example.org.pem 1024 - openssl req -new -key example.org.pem -out example.org.csr - openssl x509 -req -days 9999 -in example.org.csr -signkey example.org.pem -out example.org.crt - rm example.org.csr - -The certificate above will be valid for 9999 days. + openssl req -new -x509 -days 3652 -nodes -out example.org.crt -keyout example.org.pem + +The certificate above will be valid for 10 years. ### Note ### --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "simpleSAMLphp commits" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simplesamlphp-commits?hl=en -~----------~----~----~----~------~----~------~--~---
