servnest
/
maniver
Archived
2
0
Fork 0

Specify Certbot to use a 3072 bits RSA key instead of the default 2048

This commit is contained in:
Miraty 2021-02-28 22:53:26 +01:00
parent 030bbcc100
commit 8297ab00e4
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,10 @@ fn le_install(domain: String) {
let output = Command::new("/usr/bin/certbot")
.arg("--nginx")
.arg("--key-type")
.arg("rsa")
.arg("--rsa-key-size")
.arg("3072")
.arg("-d")
.arg(&domain)
.output()