mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-18 20:32:43 +00:00
Use fullchain rather than cat of cer and ca
This commit is contained in:
parent
5766ca55c7
commit
31e3cd678b
@ -83,9 +83,8 @@ vmwareuag_deploy() {
|
|||||||
# Set variables for later use
|
# Set variables for later use
|
||||||
_user="${Le_Deploy_vmwareuag_username}:${Le_Deploy_vmwareuag_password}"
|
_user="${Le_Deploy_vmwareuag_username}:${Le_Deploy_vmwareuag_password}"
|
||||||
_contenttype="Content-Type: application/json"
|
_contenttype="Content-Type: application/json"
|
||||||
# shellcheck disable=SC2002
|
_privatekeypem="$(awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' <"${_ckey}")"
|
||||||
_privatekeypem="$(cat "${_ckey}" | awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}')"
|
_certchainpem="$(awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' <"${_cfullchain}")"
|
||||||
_certchainpem="$(cat "${_ccert}" "${_cca}" | awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}')"
|
|
||||||
_port="${Le_Deploy_vmwareuag_port}"
|
_port="${Le_Deploy_vmwareuag_port}"
|
||||||
_path="/rest/v1/config/certs/ssl/end_user"
|
_path="/rest/v1/config/certs/ssl/end_user"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user