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

Using Let's Encrypt #357

Open
azzuwan opened this issue Jul 4, 2019 · 0 comments

Comments

2 participants
@azzuwan
Copy link

commented Jul 4, 2019

  • pREST version: 0.3.0
  • pREST endpoint: any
  • PostgreSQL version: 11.2
  • Operating system: Ubuntu 18.04
  • Go version: 1.12.6
  • Log gist:

Description

I am using Let's Encrypt Certbot generated certificates. Here is my setting:

[ssl]
mode = "require"
sslcert = "/etc/letsencrypt/live/api1.welfana.com/fullchain.pem"
sslkey = "/etc/letsencrypt/live/api1.welfana.com/privkey.pem"
sslrootcert = "/etc/letsencrypt/trustid-x3-root.pem"

I am not sure what to put as sslrootcert. I have tried manu combinations using a couple of certs from Let's Encrypt website here https://letsencrypt.org/certificates/ but nothing works.

I am getting
SSL_ERROR_RX_RECORD_TOO_LONG

Can anyone point where my mistakes are?

Root certs sections on the website:
letsencrypt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.