- Joined
- Nov 20, 2013
- Messages
- 16
- Reaction score
- 0
I have an On-site 3CX server for the past 5+ years. One month ago when the (every 3rd month) process for automatically renewing my SSL certificate was supposed to start, it's been failing every night.
I tried all the obvious stuff like restarting services, server, latest update etc. to no avail. It must have started after the 3CX v16 service pack right before the last, because the latest one didn't fix the problem. I haven't changed anything on the server in a long time. Here is the message I get:
The SSL Certificate renewal for <redacted>.3cx.us failed - Error:Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: The requested operation is not supported.
at System.Security.Cryptography.CngKeyLite.SetKeyLength(SafeNCryptKeyHandle keyHandle, Int32 keySize)
at System.Security.Cryptography.CngKeyLite.GenerateNewExportableKey(String algorithm, Int32 keySize)
at System.Security.Cryptography.DSAImplementation.DSACng.GetDuplicatedKeyHandle()
at System.Security.Cryptography.DSAImplementation.DSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.DSAImplementation.DSACng.ExportParameters(Boolean includePrivateParameters)
at PostInstall.CertificateUtils.DsaToDhParams(DSA dsa)
at PostInstall.CertificateGenerator.GenerateDhParam()
at PostInstall.CertificateGenerator.ProcessCertificatesDirectory(String directory, Boolean temporaryCertificateGenerated, Int32 regenerateNotSelfSignedCertificatesFrom, Int32 regenerateNotSelfSignedCertificatesTo, CloudServerStatus statuses, Int32 regenerateCertificateExiredInDays, String appBin, UInt16 sipPort, UInt16 tunnelPort, Nullable`1 httpPort, Nullable`1 httpsPort, Boolean isPassiveFailoverMode)
at PostInstall.CertificateGenerator.RenewCertificates(String appBin, String nginxConfigFolder, String configurationPath)
I tried all the obvious stuff like restarting services, server, latest update etc. to no avail. It must have started after the 3CX v16 service pack right before the last, because the latest one didn't fix the problem. I haven't changed anything on the server in a long time. Here is the message I get:
The SSL Certificate renewal for <redacted>.3cx.us failed - Error:Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: The requested operation is not supported.
at System.Security.Cryptography.CngKeyLite.SetKeyLength(SafeNCryptKeyHandle keyHandle, Int32 keySize)
at System.Security.Cryptography.CngKeyLite.GenerateNewExportableKey(String algorithm, Int32 keySize)
at System.Security.Cryptography.DSAImplementation.DSACng.GetDuplicatedKeyHandle()
at System.Security.Cryptography.DSAImplementation.DSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.DSAImplementation.DSACng.ExportParameters(Boolean includePrivateParameters)
at PostInstall.CertificateUtils.DsaToDhParams(DSA dsa)
at PostInstall.CertificateGenerator.GenerateDhParam()
at PostInstall.CertificateGenerator.ProcessCertificatesDirectory(String directory, Boolean temporaryCertificateGenerated, Int32 regenerateNotSelfSignedCertificatesFrom, Int32 regenerateNotSelfSignedCertificatesTo, CloudServerStatus statuses, Int32 regenerateCertificateExiredInDays, String appBin, UInt16 sipPort, UInt16 tunnelPort, Nullable`1 httpPort, Nullable`1 httpsPort, Boolean isPassiveFailoverMode)
at PostInstall.CertificateGenerator.RenewCertificates(String appBin, String nginxConfigFolder, String configurationPath)