lawshosting

Nginx & Letsencrypt

12 posts in this topic

Followed this https://documentation.solusvm.com/display/DOCS/NGINX+for+SolusVM+1.x

 

Nginx is setup, tried issuing the letsencrypt -i

 

--------------

Starting certificate generation process for domains

Requesting challenge(s) for xxxxxxxxx
Getting pkey
Reading pkey
Getting nonce
Getting nonce HEAD
Connecting to https:// acme-v01.api.letsencrypt.org/directory
Payload 1
Payload 2
Signing
Sending signed request to /acme/new-authz
Connecting to /acme/new-authz
Connecting to https:// acme-v01.api.letsencrypt.org/acme/new-authz
-------------
 

What should happen next, where are the certs stored? Nginx confs are not updated.

 

 

eitmoyerelia likes this

Share this post


Link to post
Share on other sites

Curl works. Using Google NS's

 

# curl https:// acme-v01.api.letsencrypt.org/directory

{

  "key-change": "https: //acme-v01.api.letsencrypt.org/acme/key-change",

  "new-authz": "https:// acme-v01.api.letsencrypt.org/acme/new-authz",

  "new-cert": "https: //acme-v01.api.letsencrypt.org/acme/new-cert",

  "new-reg": "https:// acme-v01.api.letsencrypt.org/acme/new-reg",

  "revoke-cert": "https:// acme-v01.api.letsencrypt.org/acme/revoke-cert"

}

 

# curl https:// acme-v01.api.letsencrypt.org/acme/new-authz

{

  "type": "urn:acme:error:malformed",

  "detail": "Method not allowed",

  "status": 405

}

No success messages at all.

eitmoyerelia likes this

Share this post


Link to post
Share on other sites

Actually try this:

rm -rf /usr/local/svmstack/letsencrypt/store

That will delete the old registration data.

Then run:

/usr/local/svmstack/letsencrypt/letsencrypt -i

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now