Hi,
I’m using Caddy server for my website with postal script running on Ubuntu 20.14. And enabled Caddy SSL for my website.
Unfortunately, postal script is not supported to use EC Keys for TLS authentication to send emails securely, the postal script supports only RSA PRIVATE KEY
instead of EC PRIVATE KEY
.
Therefore, I wanted to use my own certificate(COMODO) instead of FREE SSL offered by Caddy. So can anyone please help me on how to replace the current SSL with my own SSL?
Below are the folders / files available on my server currently…
Folder :caddy-data
File: Caddyfile
Folders and structure:
caddy-data
has one folder i.e., → caddy
caddy
has four folders i.e., → acme
, certificates
, locks
and ocsp
/caddy-data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/
acme-v02.api.letsencrypt.org-directory
Has 3 files i.e., → mydomain.com.crt
, mydomain.com.key
, mydomain.com.json
My Caddyfile is as follows :-
mydomain.com
{
reverse_proxy 127.0.0.1:5000
}
And mydomain.com.json file is as follows;
{
"sans": [ "mydomain.com" ] , "issuer_data":
{
"url": "https://acme-v02.api.letsencrypt.org/acme/cert/046------a3e8-----cafbf5"
}
}
so, please let me know what exact steps to follow to replace current SSL with my own SSL, and where to upload my COMODO SSL files.
Or, let me know If there is any way to generate RSA PRIVATE KEY
instead of EC PRIVATE KEY
with CaddySSL.
Thank you in advance!