File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,13 @@ See all sites and documentroot for them (better then apache2ctl -S)
4444a2conf --vhfmt '{vhostargs} {servername} {documentroot}'
4545~~~
4646
47+ If you created/deleted apache vhosts, but have orphaned LE certificates:
48+ ~~~
49+ a2conf --cmd sslcertificatefile| cut -f 2 -d" " | sort | uniq > /tmp/apache-certs.txt
50+ find /etc/letsencrypt/live/ -name fullchain.pem|sort > /tmp/le-certs.txt
51+ diff /tmp/apache-certs.txt /tmp/le-certs.txt
52+ ~~~
53+
4754Which way is easier and error-prone to request certificate?
4855~~~
4956a2certbot --create -d example.com --aliases
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ def main():
110110 role = get_role ()
111111 if role == 'wrapper' :
112112
113- if not args .domain :
113+ if not args .domain and not args . altnames :
114114 print ("Need domain(s) (-d)" )
115115 return
116116
You can’t perform that action at this time.
0 commit comments