Renewing X.509 Certificates - Best Practice?

Nick Peters
Tera Guru

Our X.509 certificates for our SAML configuration and IdP are about to expire. What is the best practice for updating these?

This product doc: X.509 certificates for SAML, doesn't do much in the way of explaining how to update them.

  • I'm assuming that we don't replace existing certs, just add new ones - is this correct?
  • Once we add the new certs and confirm they are working, should we mark the old ones inactive?
  • The linked product doc states that once a cert is expired, it will poll the IdP for a new one - should we really wait, or should we just work with the team that supports the certs and update them before they expire?

Any other best practice advice is appreciated.

1 ACCEPTED SOLUTION

Nick Peters
Tera Guru

Replying with how we handled it so as to mark this post as answered.

The server admin conducting the cert renewal added a secondary encryption cert to AD before the primary expired. This apparently broke ServiceNow's authentication with our AD service. Once the primary cert was changed a few seconds later, he shared it with everyone that needed it. I simply copy/pasted it into our existing X.509 record and it validated instantly.

View solution in original post

5 REPLIES 5

Nick Peters
Tera Guru

Replying with how we handled it so as to mark this post as answered.

The server admin conducting the cert renewal added a secondary encryption cert to AD before the primary expired. This apparently broke ServiceNow's authentication with our AD service. Once the primary cert was changed a few seconds later, he shared it with everyone that needed it. I simply copy/pasted it into our existing X.509 record and it validated instantly.

Greg75
ServiceNow Employee
ServiceNow Employee

 

Here is a process to automatically update your certificate using the IDP Metadata URL.

find_real_file.png

Lemajeur
Mega Expert

Hi Nick, do you know if the system would take care of everything if we do not renew it somehow manually? I see in the documentation that it should auto-handle this part, our instance is having the same issue and certificate is expected to expire in 4 days.

Thanks

midjoule
Kilo Sage

Hello,

I'm getting into the same situation and found out this support KB Doc from ServiceNow, which explains that the best practice is to create the new certificate few weeks ahead of the expiration of the existing one. Then, the old one should be deactivated after it has expired.

Best regards