在 JAX-RS 2.0 中使用 SSL 時需要配置

若要在 Liberty 伺服器上使用 JAX-RS 2.0 Secure Sockets Layer (SSL) 功能,您必須在 JAX-RS 2.0 用戶端程式碼中啟用 ssl-1.0 特性或 appSecurity-2.0 特性,並配置 com.ibm.ws.jaxrs.client.ssl.config 內容。

此規則在 Web 專案中標示 javax.ws.rs.client 套件的參照,這些專案的 web.xml 檔案中包含 <transport-guarantee>CONFIDENTIAL</transport-guarantee> 元素。

如需相關資訊,請參閱下列資源: