4 Replies Latest reply on Feb 13, 2020 8:20 AM by GunterO

    ESXi 6.5 - Wildcard SSL help needed

    JohnyBeGood Novice

      Hi all,

       

      I have ISPconfig with few personal websites and I got Comodo Positive SSL Wildcard. Using ISPconfig I went thru process generating CSR for *.mydomain.com and sending it to where I got SSL from the re seller, I got it back and pasted into ISPconfig, so far so good.

      When I do the same for ESXi which is on different IP esxi.mydomain.com I have to use this guide and OpenSSL for windows https://www.comprofix.com/2017/03/02/using-letsencrypt-esxi-vps/

      Since when I run ESXi command I get:

      [root@esxi:/vmfs/volumes/59c20232-9fad620f-8e7c-0cc47a0c8c1c/verticalbackup] openssl req -x509 -sha256 -newkey rsa:2048 -keyout rui.key -config

      openssl.cfg -out rui.crt -days 3650

      error on line -1 of openssl.cfg

      1022206424744:error:02001002:system library:fopen:No such file or directory:bss_file.c:175:fopen('openssl.cfg','rb')

      1022206424744:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:182:

      1022206424744:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:195:

      So when I upload CRT to SSL re seller and get it back from Comodo I get STAR_mydomain_com.crt.crt file and I replace rui.crt in /etc/vmware/ssl and do services.sh restart

      I no longer can access https://esxi.mydomain.com and I have to revert to Let's Encrypt certs to log back in.

      Any idea?