Commit 05934c
2024-12-17 19:22:00 Steven Anderson: Certificates deleted.scriptfu/letsencrypt/certificates.md .. /dev/null | |
@@ 1,18 0,0 @@ | |
- | # Certificates |
- | |
- | #### Read Certificate |
- | openssl x509 -text -noout -in certificate.crt |
- | |
- | #### small script to view information about cert |
- | ```sh |
- | #!/usr/bin/env sh |
- | |
- | url=$1 |
- | |
- | if [ -z "${url}" ]; then |
- | echo "You need to provide a url" |
- | exit 1 |
- | fi |
- | |
- | echo | openssl s_client -showcerts -servername "$url" -connect "$url":443 2>/dev/null | openssl x509 -inform pem -noout -text |
- | ``` |