HTTPS hostname wrong: should be . What causes this?

后端 未结 7 673
故里飘歌
故里飘歌 2020-12-03 10:38

I am getting this \'HTTPS hostname wrong:\' error when trying to connect to a server using https. My url looks something like this

https://sub.domain.com/tam         


        
7条回答
  •  独厮守ぢ
    2020-12-03 10:54

    Use host name (dns name) as Alias name.

    Ex:

    keytool -import -alias  -file certificate_one.cer -keystore cacerts
    

提交回复
热议问题