안녕하세요 wsdl 파일에서 이클립스로 웹 서비스 클라이언트를 만들었습니다. 그러나 클라이언트에서 서비스에 액세스하려고하면 다음과 같이 표시됩니다. 엔드 포인트에 대해 SSL 구성을 사용할 수 없습니다. 그런 다음 내 끝점의 주소. 내 웹 서비스 클라이언트에 키 저장소를 통해 SSL 구성을 제공 할 수있는 방법을 알려주십시오. 클라이언트에서 독립 실행 형 클라이언트 및 키 저장소를 제공했습니다. TIAwebService 클라이언트에 키 스토어 제공
6
A
답변
1
당신은 무슨 일이 키 스토어에서 선택하여 시작할 수 있습니다
:
keytool -list -keystore D:\Tomcat\ukdp.keystore -storepass 123456
이 도관 정의가 어떻게 보이는지의 sample가 : -
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sec="http://cxf.apache.org/configuration/security"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
xsi:schemaLocation="
http://cxf.apache.org/configuration/security
http://cxf.apache.org/schemas/configuration/security.xsd
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<http:conduit name="{http://apache.org/hello_world}HelloWorld.http-conduit">
<http:tlsClientParameters>
<sec:keyManagers keyPassword="password">
<sec:keyStore type="JKS" password="password"
file="my/file/dir/Morpit.jks"/>
</sec:keyManagers>
<sec:trustManagers>
<sec:keyStore type="JKS" password="password"
file="my/file/dir/Truststore.jks"/>
</sec:trustManagers>
<sec:cipherSuitesFilter>
<!-- these filters ensure that a ciphersuite with
export-suitable or null encryption is used,
but exclude anonymous Diffie-Hellman key change as
this is vulnerable to man-in-the-middle attacks -->
<sec:include>.*_EXPORT_.*</sec:include>
<sec:include>.*_EXPORT1024_.*</sec:include>
<sec:include>.*_WITH_DES_.*</sec:include>
<sec:include>.*_WITH_AES_.*</sec:include>
<sec:include>.*_WITH_NULL_.*</sec:include>
<sec:exclude>.*_DH_anon_.*</sec:exclude>
</sec:cipherSuitesFilter>
</http:tlsClientParameters>
<http:authorization>
<sec:UserName>Betty</sec:UserName>
<sec:Password>password</sec:Password>
</http:authorization>
<http:client AutoRedirect="true" Connection="Keep-Alive"/>
</http:conduit>
</beans>
는 또한 내가 당신을 도울 수있는 몇 가지 스레드를 발견 -
3
Apache CXF을 사용하여이를 수행하고 클라이언트 도관을 설정할 수 있습니다. this great tutorial의 Configuring SSL Support
섹션을 참조하십시오.
희망이 도움이됩니다.
+0
감사합니다. – ankit
관련 문제
- 1. 키 스토어
- 2. 키 스토어 안드로이드 스토어 바이트 []
- 3. HTTP를 사용하는 클라이언트에 EJB 제공
- 4. 클라이언트에 실행 파일 제공/내보내기
- 5. .net webservice 메서드를 Java 클라이언트에 노출하는 방법
- 6. 이클립스에서 새 키 스토어 만들기
- 7. 기본 제공 데이터 스토어 색인을 삭제하는 방법
- 8. 톰캣 키 스토어 예외
- 9. 키 스토어 파일에 추가
- 10. 키 스토어 손실 Android
- 11. 자바 키 스토어 복사
- 12. Sitecore : 저해상도 이미지를 저 대역폭 클라이언트에 제공
- 13. 클라이언트에 웹 서비스 사용 및 제공
- 14. RAD RAD 키 스토어 위치
- 15. 자바 키 스토어 암호는 무의미한가요?
- 16. 키 스토어 형식이 올바르지 않음
- 17. RUN @ cloud와 키 스토어 사용
- 18. Windows 키 스토어 및 인증서
- 19. 잘못된 키 스토어 형식 - 바람둥이
- 20. 톰캣 키 스토어 환경 경로
- 21. 비밀번호 용 Java 키 스토어
- 22. 키 스토어 형식이 올바르지 않습니다.
- 23. 클라우드 환경의 키 스토어 관리
- 24. SHA1 지문에서 키 스토어 재생성
- 25. 안드로이드 키 스토어 디버그 복제
- 26. 데이터 스토어 엔티티의 상위 키 가져 오기
- 27. Java RMI SSL 키 스토어/트러스트 스토어 에러?
- 28. 프록시 및 서비스 뒤의 Webservice 클라이언트에 NTLM 인증이 필요합니다.
- 29. 배열의 키 값을 int로 제공
- 30. C# 사용자 지정 키 제공
을 사용했다? – Ellis
부두 서버가있는 ibm jdk – ankit