In our BC environments we are facing "The X.509 certificate usage time is invalid." issues.
We see the below errors when we look at the logs for the BC container
Where do we get the new certificate from? How do we renew it for BC instance which is in a container?
Hi Bhavani,
I added the source, where the container's dev is replying to those questions. Please access the link and add your additional questions. You will receive the most accurate response there.
Regards,
Juan B
Hello Juan
Thank you very much!
The suggestion is to update script SetupCertificate.ps1 while creating new containers. But our issue is the cert on our existing containers expired. And is there a way we can renew it?
Hi Bhavani,
What you can do fairly simple is to download the setupCertificate.ps1 script (https://github.com/microsoft/nav-docker/blob/master/generic/Run/SetupCertificate.ps1) to a local file - add the -notAfter parameter to the script and specify the full path of the modified local SetupCertificate.ps1 to -myscripts - then you will override the certificate creation with your own version.
Source: FEATURE REQUEST: Add SSL Cert. Validity Period Property to New-BcContainer · Issue #2913 · microsoft/navcontainerhelper · GitHub
I hope it helps.
Regards,
Juan B.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156