File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 258258
259259 // Delete SSL certificate
260260 if (( $ v_ssl == 'yes ' ) && (empty ($ _POST ['v_ssl ' ])) && (empty ($ _SESSION ['error_msg ' ]))) {
261- exec (HESTIA_CMD ."v-delete-mail- domain-ssl " .$ v_username ." " .$ v_domain ." 'no' " , $ output , $ return_var );
261+ exec (HESTIA_CMD ."v-delete-domain-ssl " .$ v_username ." " .$ v_domain ." 'no' 'yes ' " , $ output , $ return_var );
262262 check_return_code ($ return_var ,$ output );
263263 unset($ output );
264264 $ v_ssl_crt = '' ;
270270
271271 // Add Lets Encrypt support
272272 if ((!empty ($ _POST ['v_ssl ' ])) && ( $ v_letsencrypt == 'no ' ) && (!empty ($ _POST ['v_letsencrypt ' ])) && empty ($ _SESSION ['error_msg ' ])) {
273- $ l_aliases = 'mail. ' . $ v_domain ;
274- exec (HESTIA_CMD ."v-add-letsencrypt-domain " .$ user ." " .$ v_domain ." ' " .$ l_aliases ."' 'no' " , $ output , $ return_var );
273+ exec (HESTIA_CMD ."v-add-letsencrypt-domain " .$ user ." " .$ v_domain ." '' 'yes' " , $ output , $ return_var );
275274 check_return_code ($ return_var ,$ output );
276275 unset($ output );
277276 $ v_letsencrypt = 'yes ' ;
You can’t perform that action at this time.
0 commit comments