Tagged: #sslcertificate Toggle Comment Threads | Keyboard Shortcuts

  • Novice wrote on December 5, 2021 @ 21:23 Permalink
    Tags: #sslcertificate   

    Creating an SSL Certificate I got the following error:

    Select the appropriate numbers separated by commas and/or spaces, or leave input
    blank to select all options shown (Enter ‘c’ to cancel): 1 2
    Obtaining a new certificate
    Performing the following challenges:
    http-01 challenge for http://www.domainName.work
    Waiting for verification…
    Cleaning up challenges
    Failed authorization procedure. http://www.domainName.work (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.domainName.work/.well-known/acme-challenge/challengeCodeVeryLong [1.2.3.4]: 404 Not Found

    IMPORTANT NOTES:

    • The following errors were reported by the server:

    Domain: http://www.domainName.work
    Type: unauthorized
    Detail: Invalid response from
    http://www.domainName.work/.well-known/acme-challenge/challengeCodeVeryLong
    [1.2.3.4]: 404 Not Found
    To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.

    Solution:
    I created a sub domain www and the process completed without errors.

     
  • Novice wrote on August 28, 2021 @ 05:51 Permalink
    Tags: #sslcertificate   

    I could not renew the site’s SSL certificate:
    Error while running apache2ctl configtest.
    Action ‘configtest’ failed.
    The Apache error log may have more information.

    AH00526: Syntax error on line xxxx of /LocationOfSite/site.conf:
    SSLCertificateFile: file ‘/LocationOf/fullchain.pem’ does not exist or is empty

    Attempting to renew cert (turningpro.work) from /LocationOfSite/site.conf produced an unexpected error: The apache plugin is not working; there may be problems with your existing configuration.
    The error was: MisconfigurationError(“Error while running apache2ctl configtest.\nAction ‘configtest’ failed.\nThe Apache error log may have more information.\n\nAH00526: Syntax error on line xxxx of /LocationOf/site.conf:\nSSLCertificateFile: file ‘/LocationOf/cert.pem’ does not exist or is empty\n”). Skipping.
    All renewal attempts failed. The following certs could not be renewed:
    /LocationOfSite/cert.pem (failure)

    That was due to a site was being forwarded to turningpro.work.
    Solution: I disabled the forwarding site in the site.conf.
    Error cleared.

    I was then faced with another error and why the turningpro.work SSL was not updating:
    Attempting to renew cert (turningpro.work) from /LocationOfSite/site.conf produced an unexpected error: Failed authorization procedure. turningpro.work (http-01): urn:ietf:params:acme:error:dns :: DNS problem: SERVFAIL looking up A for turningpro.work – the domain’s nameservers may be malfunctioning. Skipping.
    All renewal attempts failed. The following certs could not be renewed:
    /LocationOfSite/site.pem (failure)

    Solution: Delete DNSSEC. I once used DNSSEC, but has since disabled DNSSEC. Once the DNSSEC configuration was deleted, the SSL certificate was renewed.

     
c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel