You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,9 @@ Or also we can provide those data in the setting file at the 'x509cert' and the
157
157
158
158
Sometimes we could need a signature on the metadata published by the SP, in this case we could use the x.509 cert previously mentioned or use a new x.509 cert: metadata.crt and metadata.key.
159
159
160
+
Use `sp_new.crt` if you are in a key rollover process and you want to
161
+
publish that x509certificate on Service Provider metadata.
162
+
160
163
If you want to create self-signed certs, you can do it at the https://www.samltool.com/self_signed_certs.php service, or using the command:
161
164
162
165
```bash
@@ -279,6 +282,15 @@ This is the settings.json file:
279
282
// the certs folder. But we can also provide them with the following parameters
280
283
"x509cert":"",
281
284
"privateKey":""
285
+
286
+
/*
287
+
* Key rollover
288
+
* If you plan to update the SP x509cert and privateKey
289
+
* you can define here the new x509cert and it will be
290
+
* published on the SP metadata so Identity Providers can
291
+
* read them and get ready for rollover.
292
+
*/
293
+
// 'x509certNew': '',
282
294
},
283
295
284
296
// Identity Provider Data that we want connected with our SP.
@@ -924,6 +936,7 @@ Configuration of the OneLogin Python Toolkit
924
936
****check_sp_certs*** Checks if the x509 certs of the SP exists and are valid.
925
937
****get_sp_key*** Returns the x509 private key of the SP.
926
938
****get_sp_cert*** Returns the x509 public cert of the SP.
939
+
****get_sp_cert_new*** Returns the future x509 public cert of the SP.
927
940
****get_idp_cert*** Returns the x509 public cert of the IdP.
928
941
****get_sp_data*** Gets the SP data.
929
942
****get_idp_data*** Gets the IdP data.
@@ -932,6 +945,7 @@ Configuration of the OneLogin Python Toolkit
932
945
****get_organization*** Gets organization data.
933
946
****format_idp_cert*** Formats the IdP cert.
934
947
****format_sp_cert*** Formats the SP cert.
948
+
****format_sp_cert_new*** Formats the SP cert new.
935
949
****format_sp_key*** Formats the private key.
936
950
****set_strict*** Activates or deactivates the strict mode.
937
951
****is_strict*** Returns if the 'strict' mode is active.
0 commit comments