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

Verification of the certificate request fails #491

Open
ocgltd opened this issue Nov 22, 2023 · 0 comments
Open

Verification of the certificate request fails #491

ocgltd opened this issue Nov 22, 2023 · 0 comments

Comments

@ocgltd
Copy link

ocgltd commented Nov 22, 2023

I am creating a cert request in powershell on an exchange 2019 server as follows:

$binrequest = New-ExchangeCertificate -Server "exchange" -BinaryEncoded -GenerateRequest -FriendlyName "Exchange Certificate 2023" -PrivateKeyExportable $true -SubjectName "c=CA, o=MYDOMAIN, ou=IT, cn=*.MYDOMAIN.COM" -DomainName  exchange.MYDOMAIN.COM,autodiscover.MYDOMAIN.COM  
[System.IO.File]::WriteAllBytes('d:\temporary\exchange2023.req', [System.Text.Encoding]::Unicode.GetBytes($binrequest))

(I have obfoscated my real domain name with MYDOMAIN.COM.) I then move the cert request to my CA (I run XCA 2.5.0), import it and try to generate the cert. However, when I try to sign the above request XCA reports:

"The verification of the certificate request failed. The rollout should be aborted"

If I check the properties of the cert request in XCA I see:

Signature: Failed (sha1WithRSAEncryption)

Is Exch2019 generating an invalid request? Or is this normal for a request since it is not signed?

How do I diagnose this? XCA doesn't provide any additional information of what is wrong.

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