send http text to https,报CWWKO0801E, 竟然还以为websphere liberty配置问题,好傻!

由于拷贝,直接输入下面的url测试

localhost:9443/services/myweb/login

后台报错如下:

[ERROR   ] CWWKO0801E: Unable to initialize SSL connection. Unauthorized access was denied or security settings have expired. Exception is javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

经过半天的奋战, 寻找答案, 各种百度,bing,最后发现一句特有意义的解释:http (plaintext) to the back end service, send http to the https port。 整个人都不淡定了。加上https,必须好用。 疯掉的节奏,记住这个教训。

https://localhost:9443/services/myweb/login

你可能感兴趣的:(webspehre,liberty)