Trying to use ssl, https with Kong

1,190 views
Skip to first unread message

ksac...@gmail.com

unread,
Apr 9, 2017, 1:42:51 AM4/9/17
to Kong
This is a naive question. But i am not able to get much help from the documentation on where to start. I want to make rest calls to the API routes that i have configured in Kong via HTTPS

like say if I have a route 8443:api/v1/users/user1 routes to 9040/users/user1 as the configured route, I want to make a curl call over https. The only thing I found so far is this:
I literally am trying to find an example that lets me generate certificates, then i can tell curl to user that certificate and be happy with it connects to kong service. Can someone point me in the right direction?

Nginx section

proxy_listen

Address and port on which Kong will accept HTTP requests. This is the public-facing entrypoint of Kong, to which your consumers will make requests to.

See http://nginx.org/en/docs/http/ngx_http_core_module.html#listen for a description of the accepted formats for this and other *_listen values.

Default: 0.0.0.0:8000

Example: 0.0.0.0:80


proxy_listen_ssl

Address and port on which Kong will accept HTTPS requests if ssl is enabled.

Default: 0.0.0.0:8443

Example: 0.0.0.0:443

coo...@mashape.com

unread,
Apr 10, 2017, 12:45:41 PM4/10/17
to Kong
Hello,
See below...

On Saturday, April 8, 2017 at 10:42:51 PM UTC-7, ksac...@gmail.com wrote:
This is a naive question. But i am not able to get much help from the documentation on where to start.

Can you clarify which documentation you've tried to follow that is not sufficiently helpful?

You may care to start here, https://getkong.org/plugins/dynamic-ssl/, and carefully read and follow the note at the top of that page (SSL changed with the release of Kong 0.10.0, so you may need to stay on that page, or you may need to read different pages, depending on your version of Kong)

Or is your question not specific to Kong, and solely "How do I generate an SSL certificate?"

Cheers, Cooper
Reply all
Reply to author
Forward
0 new messages