Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:ssl [2024/12/30 16:37] – created 5.152.82.90 | wiki:ssl [2026/03/10 09:50] (current) – [acme.sh] 212.58.114.38 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Check SSL Certs===== | + | =====Info SSL Certs===== |
| < | < | ||
| - | openssl x509 -noout -text -in file.crt | + | openssl x509 -noout -text -in example.crt |
| openssl s_client -showcerts -servername example.com -connect example.com: | openssl s_client -showcerts -servername example.com -connect example.com: | ||
| + | </ | ||
| + | =====Info SSL CSR===== | ||
| + | < | ||
| + | openssl req -noout -text -in example.com.csr | ||
| + | </ | ||
| + | =====Validate SSL Key|Cert===== | ||
| + | < | ||
| + | openssl x509 -noout -modulus -in example.com.key|openssl md5; openssl rsa -noout -modulus -in example.com.pem|openssl md5 | ||
| + | </ | ||
| + | |||
| + | |||
| + | =====acme.sh===== | ||
| + | < | ||
| + | acme.sh --issue -d example.com -d www.example.com -w / | ||
| + | --key-file / | ||
| + | --fullchain-file / | ||
| + | --reloadcmd "/ | ||
| + | </ | ||
| + | =====Request letsfncrypt wildcard certificate no-ecc (--keylength 2048) with route53 dns validation (--dns dns_aws) for nginx server.===== | ||
| + | < | ||
| + | export AWS_ACCESS_KEY_ID=" | ||
| + | export AWS_SECRET_ACCESS_KEY=" | ||
| + | export AWS_DNS_SLOWRATE=1 | ||
| + | ./acme.sh --issue --server letsencrypt --keylength 2048 --dns dns_aws -d example.com -d ' | ||
| + | </ | ||
| + | =====Several aws accounts to validate==== | ||
| + | < | ||
| + | # .env | ||
| + | AWS_ACCESS_KEY_ID=" | ||
| + | AWS_SECRET_ACCESS_KEY=" | ||
| + | # crontab -e | ||
| + | 10 20 * * * . / | ||
| </ | </ | ||