| 1 | == Using a TLS certificate (using https) for your May First hosted when using the Deflect caching service == |
| 2 | |
| 3 | We recommend enabling Lets Encrypt certificates for your site on both the May First hosting (origin) server and for the Deflect caching (edge) servers. |
| 4 | |
| 5 | You can do this easily by following the 3 steps below. If you are not yet using the Deflect service, jump to step 2 to enable a certificate for your site from the May First control panel before enabling the Deflect service for you site. |
| 6 | |
| 7 | If you have already set up the Deflect service for your site then start from Step 1 and continue. |
| 8 | |
| 9 | === Step 1 === |
| 10 | |
| 11 | * Access the Deflect control panel for your site |
| 12 | * Navigate to the "HTTPS / TLS" tab |
| 13 | * Under the "HTTPS / TLS configuration" header enable the option: |
| 14 | * '''I want to encrypt connections to my website''' |
| 15 | * Under the "Public TLS Certificates" header enable the option: |
| 16 | * '''Use a free Let's Encrypt certificate''' |
| 17 | * Use the '''Save TLS configuration''' button to save your changes |
| 18 | * In the "HTTPS options" section enable the option: |
| 19 | * '''Both HTTP and HTTPS''' ''This step is only temporary, we will change this again after making changes in the May First control panel.'' |
| 20 | * Use the '''Save''' button to save your changes. |
| 21 | |
| 22 | === Step 2 === |
| 23 | |
| 24 | * Access the [https://members.mayfirst.org/cp May First control panel] for your site's hosting order |
| 25 | * Navigate to the "web configuration" tab |
| 26 | * Edit your web configuration and set the port to '''auto''' to enable a Lets Encrypt certificate for you site. |
| 27 | |
| 28 | See the following instructions for more details: |
| 29 | |
| 30 | https://support.mayfirst.org/wiki/faq/security/setup-certificate |
| 31 | |
| 32 | === Step 3 === |
| 33 | |
| 34 | * Access the Deflect control panel for your site |
| 35 | * Navigate to the "HTTPS / TLS" tab |
| 36 | * In the "HTTPS options" section enable the option: |
| 37 | * '''Redirect all HTTP traffic to HTTPS''' |
| 38 | * Use the '''Save''' button to save your changes. |