這是我本機tomcat的server.xml:
https預設沒有啟用:
這是http協定:
添加如下内容,在9099端口上啟用https:
發現這個證書同我們在Hybris的HAC,backoffice和Storefront裡看到的證書一緻:
This server could not prove that it is 127.0.0.1; its security certificate is not trusted by your computer’s operating system. This may be caused by a misconfiguration or an attacker intercepting your connection.