Force SSL
Version 1 (Ohad Levy, 12/14/2009 06:58 am)
| 1 | 1 | h1. Using SSL with Foreman |
|
|---|---|---|---|
| 2 | 1 | ||
| 3 | 1 | *Note* in order to make this work, you must use passenger or mongrel with foreman - see example puppet module at source:extras/puppet/foreman for passenger implementation. |
|
| 4 | 1 | ||
| 5 | 1 | if you configure apache correctly, Foreman does not require any special changes, and will work out of the box with SSL. |
|
| 6 | 1 | if you are using [[Unattended installations]], the kickstart and preseed files are also served via http, and they are not compatible using SSL. |
|
| 7 | 1 | therefor, it is recommended to enable http and https and let foreman redirect your browser to the https port when requried. |
|
| 8 | 1 | ||
| 9 | 1 | to enable, just add in your *config/settings.yaml* file: |
|
| 10 | 1 | <pre> |
|
| 11 | 1 | :require_ssl: true |
|
| 12 | 1 | </pre> |
|
| 13 | 1 | ||
| 14 | 1 | and restart your foreman instance. |
