Skip to content

GoDaddy - String was not recognized as a valid DateTime #611

@Uneven6424

Description

@Uneven6424

I was able connect to GoDaddy with Posh-ACME. When I run New-PACertificate, it goes through all the right steps, pulls an unconfigured GoDaddy SSL cert, and verifies the DNS entry. The only files created are the key, json, and csr.

Get-PAOrder shows the status is valid, but no expiration. On the GoDaddy side, the unconfigured cert is now configured and gives the status "Certificate Issued". Get-PACertificate returns blank.

After the DNS verification, I receive a DateTime error:

PS C:\Certbot> New-PACertificate xxxxxx.mydomain.com -AcceptTOS
Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
At C:\Program Files\WindowsPowerShell\Modules\Posh-ACME\4.28.0\Private\Export-PACertFiles.ps1:30 char:13

  •     if ((Get-DateTimeOffsetNow) -lt [DateTimeOffset]::Parse($Orde ...
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : FormatException

Cert file not found: C:\Users\xxxxxx\AppData\Local\Posh-ACME\GoDaddy\3084\xxxxxx.mydomain.com\cert.cer
At C:\Program Files\WindowsPowerShell\Modules\Posh-ACME\4.28.0\Private\Export-PACertFiles.ps1:134 char:13

  •         throw "Cert file not found: $certFile"
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Cert file not f...com\cert.cer:String) [], RuntimeException
    • FullyQualifiedErrorId : Cert file not found: C:\Users\xxxxxx\AppData\Local\Posh-ACME\GoDaddy\3084\xxxxxx.mydomain.com\cert.cer

PS C:\Certbot> Get-Culture

LCID Name DisplayName


1033 en-US English (United States)

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions