Skip to content

damonww/cmdhere

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Useful Commands

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/html

About

add "命令提示符" to context menu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Batchfile 58.8%
  • Shell 30.2%
  • JavaScript 11.0%