Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue importing certificates or adding certs to sites #168

Open
kdovale opened this issue Jan 16, 2024 · 0 comments
Open

issue importing certificates or adding certs to sites #168

kdovale opened this issue Jan 16, 2024 · 0 comments

Comments

@kdovale
Copy link

kdovale commented Jan 16, 2024

when you install a certificate on a site it comes back and says that it detected an installed certificate, not like the other servers where it shows you the newly installed cerificate settings, if you try import the certificate it errors out with the following

System.NotSupportedException: The certificate key algorithm is not supported.
at System.Security.Cryptography.X509Certificates.PublicKey.get_Key()
at SolidCP.Providers.Web.Iis.SSLModuleService100.GetSSLCertificateFromX509Certificate2(X509Certificate2 cert)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at SolidCP.Providers.Web.Iis.SSLModuleService100.GetServerCertificates(String certificateStoreName)
at SolidCP.Providers.Web.Iis.SSLModuleService100.GetServerCertificates()
at SolidCP.Providers.Web.Iis.SSLModuleService100.GetCurrentSiteCertificate(WebSite website)
at SolidCP.Providers.Web.Iis.SSLModuleService100.ImportCertificate(WebSite website)

Im not sure why this server is moaning like this, im busy testing this issue on other servers to see if its specific to this server. I have checked the certificate stor, made sure no certs exist, i also checked the wacs dir and removed the certs, but same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant