Kong gateway API for Https

The sample provided to register an API with kong uses 8001 port which is a non ssl traffic. What are the steps for ssl? (port 8444 and 8443)