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

Change SSL certificates #112

Closed
dmolina-ot opened this issue Feb 24, 2015 · 2 comments
Closed

Change SSL certificates #112

dmolina-ot opened this issue Feb 24, 2015 · 2 comments

Comments

@dmolina-ot
Copy link

How can I change default self signed certificates by my own certificates? Is there some attribute in api-umbrella.yml to do this?

@GUI
Copy link
Member

GUI commented Feb 26, 2015

This is untested (we currently perform SSL termination outside API Umbrella), but I believe this should be possible with this config in your /etc/api-umbrella/api-umbrella.ymlfile:

hosts:
  - hostname: your_hostname.com
    default: true
    ssl_cert: /your/path/to/ssl.crt
    ssl_cert_key: /your/path/to/ssl.key

You can store the cert files wherever you'd like on your server.

These paths get passed to the [ssl_certificate](http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_certificate) and [ssl_certificate_key](http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_certificate_key) settings for nginx. If you haven't installed SSL certs into nginx before, then I think the main thing to be aware of is that the certificate file needs to contain any intermediate certs inside the file directly (there's not a separate intermediate configuration setting like with Apache's SSL config).

Let me know if that doesn't do the trick, though.

@GUI
Copy link
Member

GUI commented Nov 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants