πSSL
Go to GoDaddy website to buy a new certificate.
After login, go to the Certificates section and click on "gΓ©rer".
Buy the new certificate and download the Apache version.
Once unzipped, concatenate both files together (ex: cat 6b287f95fd839a6c.crt gd_bundle-g2-g1.crt > combined.crt).

Then, to change the certificate on clients.luckycycle.com:
Login by ssh ssh [email protected] and create a new directory.
After that you need to copy both the server key and the certificate.
Edit the configuration:
Change the path of the certificate on this file and restart nginx:
For any Heroku app:
Copy the server.key and update the certificate:
For the website (www.luckycycle.com):
Copy the certificate on server and restart Apache:
For the mon.jeu.leclerc domain:
Update the fol-prod-lucky-cycle-crt secret with the new certificate Leclerc provided us with (.pem) and our own generated key (.key).
Remark: Not recommended, but it's also possible to delete the secret and create a new one with the following commands:
Steps by Guillaume, written by Corentin on 06/01/2023.
For a custom certificate with a single domain:
Run the following command and add your info to generate a .csr and .key files:
For a custom certificate with multiple sub-domains (SANs):
Create a cert.conf file with your info:
Run the following command to generate the .csr and .key files:
In both cases, the customer must certify the .csr file (keep the .key one to yourself), and provide us with a .cer file (could be one file, or more if they generated intermediate certificates).
Remark: If you receive more than one .cer file, you must bundle them together before going further (you can simply paste them one below the others to do so).
Then, you need to go to Rancher, create a new TLS secret, add both your (bundled) .cer and .key files, and reference its name in the production values.yaml of the ops repository.
To decrypt a generated CSR, simply run:
Last updated