]>
git.proxmox.com Git - mirror_acme.sh.git/blob - deploy/keychain.sh
3 #Here is a sample custom api script.
4 #This file name is "myapi.sh"
5 #So, here must be a method myapi_deploy()
6 #Which will be called by acme.sh to deploy the cert
7 #returns 0 means success, otherwise error.
9 ######## Public functions #####################
11 #domain keyfile certfile cafile fullchain
19 _debug _cdomain
"$_cdomain"
21 _debug _ccert
"$_ccert"
23 _debug _cfullchain
"$_cfullchain"
25 /usr
/bin
/security import
"$_ckey" -k "/Library/Keychains/System.keychain"
26 /usr
/bin
/security import
"$_ccert" -k "/Library/Keychains/System.keychain"
27 /usr
/bin
/security import
"$_cca" -k "/Library/Keychains/System.keychain"
28 /usr
/bin
/security import
"$_cfullchain" -k "/Library/Keychains/System.keychain"