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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章