How to use LetsEncrypt for Kong

Hello. I’m new to Kong. Have deployed it and able to add plugins and set upstream url’s. My question is 1. How can I use lets encrypt to generate and configure SSL certificates on kong. 2. How can change ports from 8443 to 443

Hi prawen-

I’ll answer your second question first since it’s easier. To change the ports Kong uses you’ll need to update your kong.conf file.

For using Let’s Encrypt and Kong, it will depend on how you have Kong implemented. I did some googling and found a tool in the Open Source community you may want to look into:

1 Like

Thanks for your response.

I’ve been using the example from “Automatically create or renew certificates on startup and daily thereafter.” https://github.com/ixc/letsencrypt-docker/blob/master/docker-cloud.yml to keep haproxy updated with ssl certs that are auto renewed. It works well. I’m new to kong and am trying to figure out if there is a way to do something similar with it. Let me know if you’ve uncovered anything, cheers.

1 Like

It’s now has the official supported by Kong: https://github.com/Kong/kong-plugin-acme


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ