DOMAIN=vps.phus.lu
openssl ecparam -genkey -name prime256v1 > ecc.key
openssl req -new -sha256 -key ecc.key -subj "/CN=$DOMAIN" -reqexts SAN -config <(cat /etc/ssl/openssl.cnf /etc/pki/tls/openssl.cnf 2>/dev/null <(printf "[SAN]\nsubjectAltName=DNS:$DOMAIN")) -outform der -out ecc.csr
sudo git clone https://github.com/certbot/certbot /opt/certbot
sudo /opt/certbot/certbot-auto certonly --text -n -v --agree-tos --email [email protected] --csr ecc.csr --webroot -w /var/www/htmldamonww/cmdhere
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Releases
No releases published
Languages
- Batchfile 58.8%
- Shell 30.2%
- JavaScript 11.0%