diff --git a/docs/simplesamlphp-artifact-sp.md b/docs/simplesamlphp-artifact-sp.md index 7571454e611061fcfde9e06300d3282b47b10357..3e2e48e85887808f0c6e78c46ed0d75b610b94ea 100644 --- a/docs/simplesamlphp-artifact-sp.md +++ b/docs/simplesamlphp-artifact-sp.md @@ -11,7 +11,7 @@ This is used for SSL client authentication when contacting the IdP. To generate a private key and certificate, you may use the `openssl` commandline utility: - openssl req -newkey rsa:2048 -new -x509 -days 3652 -nodes -out sp.example.org.crt -keyout sp.example.org.pem + openssl req -newkey rsa:3072 -new -x509 -days 3652 -nodes -out sp.example.org.crt -keyout sp.example.org.pem You can then add the private key and certificate to the SP configuration. When this is done, you can add the metadata of your SP to the IdP, and test the authentication. diff --git a/docs/simplesamlphp-googleapps.md b/docs/simplesamlphp-googleapps.md index 5f8cfbd3c03cc938d92c869bf398c4360f4d3e1e..30cab47945824061a94ef5e6b0cab755f8e6f6aa 100644 --- a/docs/simplesamlphp-googleapps.md +++ b/docs/simplesamlphp-googleapps.md @@ -42,7 +42,7 @@ Edit `config.php`, and enable the SAML 2.0 IdP: You must generate a certificate for your IdP. Here is an example of an openssl command to generate a new key and a self signed certificate to use for signing SAML messages: - openssl req -newkey rsa:2048 -new -x509 -days 3652 -nodes -out googleappsidp.crt -keyout googleappsidp.pem + openssl req -newkey rsa:3072 -new -x509 -days 3652 -nodes -out googleappsidp.crt -keyout googleappsidp.pem The certificate above will be valid for 10 years. diff --git a/docs/simplesamlphp-idp.md b/docs/simplesamlphp-idp.md index 1401d1d543800e8b414786c0f4d8660cecff6b1e..2a8cd83ff87368b36d574283537278a98db7978b 100644 --- a/docs/simplesamlphp-idp.md +++ b/docs/simplesamlphp-idp.md @@ -127,7 +127,7 @@ Here is an example of an `openssl`-command which can be used to generate a new p This key and certificate can be used to sign SAML messages: - openssl req -newkey rsa:2048 -new -x509 -days 3652 -nodes -out example.org.crt -keyout example.org.pem + openssl req -newkey rsa:3072 -new -x509 -days 3652 -nodes -out example.org.crt -keyout example.org.pem The certificate above will be valid for 10 years. diff --git a/docs/simplesamlphp-sp.md b/docs/simplesamlphp-sp.md index 24530e6a5f2ec63e050391e7e5009589174bcfaf..7fc47ee94129d3cf845d9b1a93eb356b7bf6a8e8 100644 --- a/docs/simplesamlphp-sp.md +++ b/docs/simplesamlphp-sp.md @@ -50,7 +50,7 @@ Some Identity Providers / Federations may require that your Service Providers ho Create a self-signed certificate in the `cert/` directory. cd cert - openssl req -newkey rsa:2048 -new -x509 -days 3652 -nodes -out saml.crt -keyout saml.pem + openssl req -newkey rsa:3072 -new -x509 -days 3652 -nodes -out saml.crt -keyout saml.pem Then edit your `authsources.php` entry, and add references to your certificate: diff --git a/modules/saml/docs/keyrollover.md b/modules/saml/docs/keyrollover.md index 46268f2b3ebd1036714a19e4addf1cfc6d46c56a..0fd99fc82dc7520674812acc8e041e43c4637a8c 100644 --- a/modules/saml/docs/keyrollover.md +++ b/modules/saml/docs/keyrollover.md @@ -11,7 +11,7 @@ First you must create the new key that you are going to use. To create a self signed certificate, you may use the following command: cd cert - openssl req -newkey rsa:2048 -new -x509 -days 3652 -nodes -out new.crt -keyout new.pem + openssl req -newkey rsa:3072 -new -x509 -days 3652 -nodes -out new.crt -keyout new.pem Add the new key to SimpleSAMLphp