X509 Client Authentication
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Thu May 25, 2006 6:54 pm
X509 Client Authentication
Does Oxygen support client authentication via X509 certs? I have set the certificate settings in Oxygen and they are valid, yet when I contact my https protected web service, Oxygen does not appear to be honoring the server's client certificate request. Any ideas?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Yes authentication with X509 certificates is supported. How did you set the certificate in <oXygen/> ? Did you follow the procedure described in the User Manual available from menu Help -> Help for configuring the certificate necessary for a HTTPS server ? What is the error message ?
Regards,
Sorin
Yes authentication with X509 certificates is supported. How did you set the certificate in <oXygen/> ? Did you follow the procedure described in the User Manual available from menu Help -> Help for configuring the certificate necessary for a HTTPS server ? What is the error message ?
Regards,
Sorin
-
- Posts: 4
- Joined: Thu May 25, 2006 6:54 pm
I set the certificate via Options->Preferences->Certificates. I already have a preconfigured Java keystore.
I chose the JKS type, pointed to my keystore file, entered the certificate alias and passwords, and clicking the "Validate" button yields "The certificate options are valid."
When I try to contact my web service, Oxygen displays the following message:
"org.apache.commons.httpclient.HttpException : Software caused connection abort: recv failed (https://192.168.3.52:1025)"
The server (using GnuTLS) shows an error message of: "The peer did not send any certificate. (-49)" The service drops the connection if the handshake fails.
I chose the JKS type, pointed to my keystore file, entered the certificate alias and passwords, and clicking the "Validate" button yields "The certificate options are valid."
When I try to contact my web service, Oxygen displays the following message:
"org.apache.commons.httpclient.HttpException : Software caused connection abort: recv failed (https://192.168.3.52:1025)"
The server (using GnuTLS) shows an error message of: "The peer did not send any certificate. (-49)" The service drops the connection if the handshake fails.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Regards,
Sorin
That is for certificates used for digital signatures of XML documents, not for accessing HTTPS servers. I repeat the question: did you follow the procedure described in the User Manual for configuring the Java virtual machine running <oXygen/> with the certificate necessary for the HTTPS server ? The error message of the server says that the certificate store of the JVM does not contain the necessary certificate for the server.rmfought wrote:I set the certificate via Options->Preferences->Certificates. I already have a preconfigured Java keystore.
Regards,
Sorin
-
- Posts: 4
- Joined: Thu May 25, 2006 6:54 pm
Yes, I followed this procedure. The problem is that the server is requesting the client's certificate, which is NOT in a JRE keystore - only the specific one I created for use in Oxygen. The fact that the Oxygen keystore option is for digital signatures only explains why it is not working. I need to get the client cert into the JRE keystore.
-
- Posts: 4
- Joined: Thu May 25, 2006 6:54 pm
I'm still having no luck. I added the client keypair/certs into both the cacerts keystore and the default user keystore (c:\Documents and Settings\user\.keystore), and Oxygen/Java is still not sending the client cert to the server when requested.
I can make this work fine in a browser, the server asks for the client cert and the browser asks me which cert to send.
I can make this work fine in a browser, the server asks for the client cert and the browser asks me which cert to send.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Please send the certificate to support at oxygenxml dot com and specify the URL of the HTTPS server so that we can reproduce the error.
Regards,
Sorin
Please send the certificate to support at oxygenxml dot com and specify the URL of the HTTPS server so that we can reproduce the error.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service