Unable to find a Certificate for the given reference

I done all steps by Quick-Start https://pkisharp.github.io/ACMESharp-docs/Quick-Start.html.
but on last step i get error
PS C:\Windows\system32> Install-ACMECertificate -CertificateRef cert-pki1 -Installer iis -InstallerParameters @{
WebSiteRef = ‘www.dovirent.com
Install-ACMECertificate : Unable to find a Certificate for the given reference
At line:1 char:1

  • Install-ACMECertificate -CertificateRef cert-pki1 -Installer iis -Ins …
  •   + CategoryInfo          : NotSpecified: (:) [Install-ACMECertificate], Exception
      + FullyQualifiedErrorId : System.Exception,ACMESharp.POSH.InstallCertificate

Please, help. What do I need?

What is the output of:


And are you sure there wasn’t any error in any of the previous commands?

Seq : 0
Id : 376eb553-2dc6-557f-ad3e-a61b79c63bf9
Alias : cert-dovirent-domains
Label :
IdentifierDns : www.dovirent.com
Thumbprint : B1CB7027F446E666A6225386EA9F5710CC4397A6
SerialNumber : 03CC73E1DD22B65FBF84184142A0AC4872E3
IssuerSerialNumber : 0A0141420000015385736A0B85ECC708
CertificateRequest : ACMESharp.CertificateRequest
StatusCode : OK

It looks like you used cert-dovirent-domains instead of cert-pki1 as the certificate name in a previous command so you will need to that for this command as well:

Install-ACMECertificate -CertificateRef cert-dovirent-domains -Installer iis -InstallerParameters @{
    WebSiteRef = ‘www.dovirent.com’
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.