Link Search Menu Expand Document

Enabling HTTPS

Configuring a certificate for your dokku app

Google OAuth requires that applications (other than those running on localhost) use https to encrypt the traffic that goes over the network.

Here’s how to enable https on Dokku apps. The commands below show app-name as the name of your app; be sure to substitute in jpa03-cgaucho, for example.

On your assigned dokku machine, at the prompt, type these two commands, substituting in your UCSB email in place of

  • dokku letsencrypt:set app-name email
  • dokku letsencrypt:enable app-name