acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
39.21k stars 4.96k forks source link

Feature Request: command to install pks file #2655

Open sethkor opened 4 years ago

sethkor commented 4 years ago

Given the statement on installing certs here https://github.com/Neilpang/acme.sh#3-install-the-cert-to-apachenginx-etc:

"You MUST use this command to copy the certs to the target files, DO NOT use the certs files in ~/.acme.sh/ folder, they are for internal use only, the folder structure may change in the future."

Should there be a command to install the pks file which when generated is placed in the .acme.sh directory?

Should this be a seperate insatll-pks command or another argument to install-certs?

I'm happy to provide a PR for it given some direction on the preferred solution.

Neilpang commented 4 years ago

let's wait and see how many users need this.

At the meantime, we have a command to convert the cert/key to pfx format: https://github.com/Neilpang/acme.sh/wiki#3-how-to-get-pkcs12pfx-format