mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-07-16 10:03:21 -07:00
Update v-list-web-domain-ssl
Adding certificate support from CloudFlare
This commit is contained in:
parent
f9c9ec6fed
commit
a9ddd4159c
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ if [ -e "$USER_DATA/ssl/$domain.crt" ]; then
|
|||
crt=$(cat $USER_DATA/ssl/$domain.crt |sed ':a;N;$!ba;s/\n/\\n/g')
|
||||
|
||||
info=$(openssl x509 -text -in $USER_DATA/ssl/$domain.crt)
|
||||
subj=$(echo "$info" |grep Subject: |cut -f 2 -d =)
|
||||
subj=$(echo "$info" |grep Subject: |cut -f 2 -d =|cut -f 2 -d \")
|
||||
before=$(echo "$info" |grep Before: |sed -e "s/.*Before: //")
|
||||
after=$(echo "$info" |grep "After :" |sed -e "s/.*After : //")
|
||||
signature=$(echo "$info" |grep "Algorithm:" |head -n1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue