Comments (3)
I'll try to answer here, but these kind of questions are better discussed on the forum here: http://www.payara.org/forum
I think you need to add the public key to the remote certificate to the trust store. According to the stack trace, you're not using Payara (JAX-WS) API to access the remote service but you're using AXIS instead. Therefore you need to at the certificate into the default JVM keystore with the system property javax.net.ssl.trustStore
. See here for more information: https://stackoverflow.com/questions/6340918/trust-store-vs-key-store-creating-with-keytool#6341566
If you want to raise more questions, please ask them in the forum, I'll be happy to answer them there.
I'm cloing this issue now.
from payara-examples.
Thanks for your response, I write the issue in the forum with the following notes ....
-
I had generated an P12 certificate from the the digital certificate (.CER) that I downloaded from the vendor, and I use it to access from standard Java application successfully
-
This vendor has an authentication webservice to access all they web services, but the error throws previous to autenticate use the P12 key, it throws when I call a simply dummy web service to check if the vendor site works correctly, and that web services that not require any authentication.
I had set the javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword pointing to my P12 file but it throws the same error.
System.setProperty("javax.net.ssl.keyStore", ....);
System.setProperty("javax.net.ssl.keyStorePassword", ...);
any ideas? should I add my p12 key to the cacerts.jks or keystore.jks files in the domain config?
from payara-examples.
Thanks for your response, I write the issue in the forum with the following notes ....
- I had generated an P12 certificate from the the digital certificate (.CER) that I downloaded from the vendor, and I use it to access from standard Java application successfully
- This vendor has an authentication webservice to access all they web services, but the error throws previous to autenticate use the P12 key, it throws when I call a simply dummy web service to check if the vendor site works correctly, and that web services that not require any authentication.
I had set the javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword pointing to my P12 file but it throws the same error.
System.setProperty("javax.net.ssl.keyStore", ....);
System.setProperty("javax.net.ssl.keyStorePassword", ...);any ideas? should I add my p12 key to the cacerts.jks or keystore.jks files in the domain config?
Were you able to solve it? if yes please share your solution
from payara-examples.
Related Issues (20)
- Microprofile Fault Tolerance examples do not deploy on 5.192 HOT 2
- Microprofile REST Client examples do not deploy on 5.192
- build fails for master branch HOT 1
- can't deploy HOT 5
- Is there an example of ...? HOT 2
- mvn clean package fails
- Possible to build the datasource-example app ...
- setAlternateDomainXML HOT 5
- Problem with Payara Micro examples <parent> - Could not find artifact HOT 2
- Test fails HOT 8
- loopBack undefined symbol
- Unsatisfied dependencies for type PayaraMicroRuntime with qualifiers @Default payara171
- Upgrade Payara Micro examples to work with 171 HOT 1
- Remote EJB connection from client application HOT 6
- Payara server stops at night HOT 2
- java.lang.RuntimeException: No pool by name HOT 1
- Request: update the Spring Boot REST example Spring Boot 2.0.0.RELEASE HOT 1
- BUG: JWTAuthenticationMechanism.java HOT 5
- NullPointerException when running batch process in Payara Micro HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from payara-examples.