diff options
| author | ache <ache@ache.one> | 2025-03-03 06:45:33 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2025-03-03 06:45:33 +0100 |
| commit | 5de689c7f92d66cce18d2a778b51978fee0aa07f (patch) | |
| tree | 32645613841b53614e02d3b83a99e26f9731de6b | |
| parent | Update model image path (diff) | |
Fix theme for two commands
| -rw-r--r-- | notes/create_self-signed_certificate_from_a_self-signed_CA.md | 4 | ||||
| -rw-r--r-- | notes/créer-un-certificat-auto-signé-depuis-un-CA-auto-signé.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/notes/create_self-signed_certificate_from_a_self-signed_CA.md b/notes/create_self-signed_certificate_from_a_self-signed_CA.md index 6a7250d..3cf14ea 100644 --- a/notes/create_self-signed_certificate_from_a_self-signed_CA.md +++ b/notes/create_self-signed_certificate_from_a_self-signed_CA.md @@ -96,7 +96,7 @@ One can add : - - We can also extract the certificate into a file as follows: - ```sh + ```shell $ openssl s_client -connect ache.one:443 -servername ache.one < /dev/null | \ openssl x509 -outform PEM > ache_one.cert ``` @@ -238,7 +238,7 @@ $ openssl req -new -out website.csr -sha256 -days 3650 -nodes -subj "/C=FR/ST=Ce Or by using a configuration file. This is what I chose to do in order to facilitate the re-creation of the certificate. -```sh +```shell $ openssl req -new -key website.key -out website.csr -utf8 -nameopt multiline,utf8 -config website.conf ``` diff --git a/notes/créer-un-certificat-auto-signé-depuis-un-CA-auto-signé.md b/notes/créer-un-certificat-auto-signé-depuis-un-CA-auto-signé.md index 27f82c2..5b6dd68 100644 --- a/notes/créer-un-certificat-auto-signé-depuis-un-CA-auto-signé.md +++ b/notes/créer-un-certificat-auto-signé-depuis-un-CA-auto-signé.md @@ -96,7 +96,7 @@ On peut ajouter : - `-starttls` avec `smtp`, `ldap`, `pop3`, `xmpp`... pour vérifier l'installation TLS sur un serveur avec un protocole compatible StartTLS. - On peut également extraire le certificat dans un fichier : - ```sh + ```shell $ openssl s_client -connect ache.one:443 -servername ache.one < /dev/null | \ openssl x509 -outform PEM > ache_one.cert ``` @@ -239,7 +239,7 @@ $ openssl req -new -out website.csr -sha256 -days 3650 -nodes -subj "/C=FR/ST=Ce Soit utiliser un fichier de configuration. C'est ce que j'ai choisi de faire afin de facilité la recréation du certificat. -```sh +```shell $ openssl req -new -key website.key -out website.csr -utf8 -nameopt multiline,utf8 -config website.conf ``` |