I am using Win-Acme 2.2.6 and I am trying to renew the certificate on a windows load balancer server.
But I am reciving the following error while generating the certificate could someone please let me know how it can be fixed.
** System.Security.Cryptography.CryptographicException: Bad Data.
at System.Security.Cryptography.X509Certificates.StorePal.FromBlobOrFile(ReadOnlySpan1 rawData, String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) at System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import(ReadOnlySpan1 rawData, ReadOnlySpan`1 password, X509KeyStorageFlags keyStorageFlags)
at System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
at PKISharp.WACS.Services.CertificateService.ParseCertificate(Byte[] bytes, String friendlyName, AsymmetricKeyParameter pk)
at PKISharp.WACS.Services.CertificateService.DownloadCertificate(AcmeOrderDetails order, String friendlyName, AsymmetricKeyParameter pk)
at PKISharp.WACS.Services.CertificateService.RequestCertificate(ICsrPlugin csrPlugin, Order order)
at PKISharp.WACS.OrderProcessor.GetFromServer(OrderContext context) **
I am using Win-Acme 2.2.6 and I am trying to renew the certificate on a windows load balancer server.
But I am reciving the following error while generating the certificate could someone please let me know how it can be fixed.
** System.Security.Cryptography.CryptographicException: Bad Data.
at System.Security.Cryptography.X509Certificates.StorePal.FromBlobOrFile(ReadOnlySpan
1 rawData, String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags) at System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import(ReadOnlySpan1 rawData, ReadOnlySpan`1 password, X509KeyStorageFlags keyStorageFlags)at System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Import(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
at PKISharp.WACS.Services.CertificateService.ParseCertificate(Byte[] bytes, String friendlyName, AsymmetricKeyParameter pk)
at PKISharp.WACS.Services.CertificateService.DownloadCertificate(AcmeOrderDetails order, String friendlyName, AsymmetricKeyParameter pk)
at PKISharp.WACS.Services.CertificateService.RequestCertificate(ICsrPlugin csrPlugin, Order order)
at PKISharp.WACS.OrderProcessor.GetFromServer(OrderContext context) **