Hello everybody
When I run ScepClient.exe gennewext with my parameters so something like:
ScepClient.exe gennewext http://scepman.server/static SeCrEtPaSSwOrD dnslist.txt keyUsages.txt "Great Server" greatserver.pfx greatserver.cer
i get the following error which I cannot tell from where it is coming:
Unhandled Exception: System.Security.Cryptography.CryptographicException: The parameter is incorrect. at System.Security.Cryptography.Pkcs.EnvelopedCms.DecryptContent(RecipientInfoCollection recipientInfos, X509Certificate2Collection extraStore) at System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt(X509Certificate2Collection extraStore) at ScepClient.ScepClient.<>c__DisplayClass27_0.<ParseScepResponse>b__4() at ScepClient.ScepClient.ExecuteCryptoMethodWithRetries(Action operation2Execute) at ScepClient.ScepClient.ParseScepResponse(X509Certificate2Collection caChain, X509Certificate2 ownKey, Byte[] data) at ScepClient.ScepClient.SubmitPkcs10ToScep(String scepURL, Byte[] pkcs10, X509Certificate2 signerCert, Boolean isRenewal) at ScepClient.ScepClient.GenerateNew(String scepURL, String pfxOutputPath, String certOutputPath, String pkcs10OutputPath, String challengePassword, String cN, IEnumerable1 additionalDNSEntries, IEnumerable1 keyPurposes) at ScepClient.ScepClient.Main(String[] args)
Does anybody have an idea what the issue might be because the scepman server seems to validate request and generate the certificate but it somehow cannot be decrypted or something similar?
Hello everybody
When I run
ScepClient.exe gennewextwith my parameters so something like:ScepClient.exe gennewext http://scepman.server/static SeCrEtPaSSwOrD dnslist.txt keyUsages.txt "Great Server" greatserver.pfx greatserver.ceri get the following error which I cannot tell from where it is coming:
Unhandled Exception: System.Security.Cryptography.CryptographicException: The parameter is incorrect. at System.Security.Cryptography.Pkcs.EnvelopedCms.DecryptContent(RecipientInfoCollection recipientInfos, X509Certificate2Collection extraStore) at System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt(X509Certificate2Collection extraStore) at ScepClient.ScepClient.<>c__DisplayClass27_0.<ParseScepResponse>b__4() at ScepClient.ScepClient.ExecuteCryptoMethodWithRetries(Action operation2Execute) at ScepClient.ScepClient.ParseScepResponse(X509Certificate2Collection caChain, X509Certificate2 ownKey, Byte[] data) at ScepClient.ScepClient.SubmitPkcs10ToScep(String scepURL, Byte[] pkcs10, X509Certificate2 signerCert, Boolean isRenewal) at ScepClient.ScepClient.GenerateNew(String scepURL, String pfxOutputPath, String certOutputPath, String pkcs10OutputPath, String challengePassword, String cN, IEnumerable1 additionalDNSEntries, IEnumerable1 keyPurposes) at ScepClient.ScepClient.Main(String[] args)Does anybody have an idea what the issue might be because the scepman server seems to validate request and generate the certificate but it somehow cannot be decrypted or something similar?