SYSTEM INFORMATION | |
---|---|
OS type and version | Rocky Linux v9.2 |
Webmin version | 2.101 |
Virtualmin version | 7.7 |
Related packages | Let’s Encrypt |
I received this message when trying to switch SSL certificate from RSA to Elliptic Curve:
“Unable to change the --key-type of this certificate because --reuse-key is set. To stop reusing the private key, specify --no-reuse-key. To change the private key this one time and then reuse it in future, add --new-key”
On creating a new virtual server, The SSL Certificate successfully requested, But can’t switch to Elliptic Curve, I tried to make the Elliptic Curve is the default for new Virtual Servers, from [Virtualmin > System Settings > Virtualmin Configuration > SSL Settings] and I deleted the Virtual Server and Re-Create it, But the SSL Certificate Request still RSA, I removed the Virtualmin Cache, But nothing help.
SSL Default Settings
On Creating Virual Server - Succeeded
Requesting a certificate for DOMAIN.com, www.DOMAIN.com, mail.DOMAIN.com, admin.DOMAIN.com, webmail.DOMAIN.com from Let’s Encrypt …
… request was successful!
On Switch to Elliptic Curve Certificate - FAILED
Requesting a certificate for DOMAIN.com, www.DOMAIN.com, mail.DOMAIN.com, admin.DOMAIN.com, webmail.DOMAIN.com from Let’s Encrypt …
… request failed : Web-based validation failed :
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Renewing an existing certificate for DOMAIN.com and 4 more domains
Unable to change the --key-type of this certificate because --reuse-key is set. To stop reusing the private key, specify --no-reuse-key. To change the private key this one time and then reuse it in future, add --new-key.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.