通过mobilefirst适配器访问安全的Web服务

时间:2016-02-08 09:44:39

标签: ssl ibm-mobilefirst mobilefirst-adapters

我需要访问受保护的wsdl,即 https并需要证书等才能访问。我做了他的i我按照此处指定的步骤而不是直接从浏览器下载证书:{{3} }

当我做最后一步 keytool -v -list -keystore mfp-default.keystore 我得到

密钥库类型:JKS
密钥库提供商:SUN

您的密钥库包含1个条目

别名:后端 创作日期:2016年2月5日 条目类型:trustedCertEntry

我怀疑的是,我所做的是否足以访问安全的https,我是否需要在下面添加任何内容,以便在adapter.xml中添加sslcert和ssl传递

<?xml version="1.0" encoding="UTF-8"?>
<!--
    Licensed Materials - Property of IBM
    5725-I43 (C) Copyright IBM Corp. 2011, 2013. All Rights Reserved.
    US Government Users Restricted Rights - Use, duplication or
    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
-->
<wl:adapter name="cloudcheck"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:wl="http://www.ibm.com/mfp/integration"
    xmlns:http="http://www.ibm.com/mfp/integration/http">

    <displayName>cloudcheck</displayName>
    <description>cloudcheck</description>
    <connectivity>
        <connectionPolicy xsi:type="http:HTTPConnectionPolicyType">
            <protocol>https</protocol>
            <domain>mydummy.com</domain>
            <port>443</port>
            <connectionTimeoutInMilliseconds>30000</connectionTimeoutInMilliseconds>
            <socketTimeoutInMilliseconds>30000</socketTimeoutInMilliseconds>
            <maxConcurrentConnectionsPerNode>50</maxConcurrentConnectionsPerNode>
            <!-- Following properties used by adapter's key manager for choosing specific certificate from key store  
            <sslCertificateAlias>backend</sslCertificateAlias> 
            <sslCertificatePassword>password</sslCertificatePassword>
            -->     
        </connectionPolicy>
    </connectivity>

    <procedure name="getFeed"/>

</wl:adapter>

0 个答案:

没有答案