Problems with a plugin Certificate
Oxygen general issues.
-
- Posts: 18
- Joined: Tue Jul 12, 2022 10:17 pm
Problems with a plugin Certificate
We are experiencing a problem when downloading a plugin using the Oxygen Xml Install new Add-ons tab.
We have been working on a plugin over the years and it has a custom Certificate, recently the certificate expired and we were in the process of updating it, but stumbled across this error that we were not getting before:
Start Oxygen.
Options > Preferences
Go to Network Connection Settings.
Click HTTP(s)/WebDAV
Select "Automatically accept a security certificate, even if invalid"
Click Apply.
The dialog comes up and it shows no problems at all, and that includes letting us check the cert while downloading and we can see that the plugin itself is marked as having a valid certificate.
We have changed the keystore in the plugin many times in the last couple of days, but all of them seem to be working this way.
If the certificate is not the problem, what other reason would provoke this error?
We have been working on a plugin over the years and it has a custom Certificate, recently the certificate expired and we were in the process of updating it, but stumbled across this error that we were not getting before:
image.png
It seem to have a problem with the cert found on the plugin, however it was created the same way we have created it before and it never had this issue, not only that but by doing these steps:Start Oxygen.
Options > Preferences
Go to Network Connection Settings.
Click HTTP(s)/WebDAV
Select "Automatically accept a security certificate, even if invalid"
Click Apply.
The dialog comes up and it shows no problems at all, and that includes letting us check the cert while downloading and we can see that the plugin itself is marked as having a valid certificate.
We have changed the keystore in the plugin many times in the last couple of days, but all of them seem to be working this way.
If the certificate is not the problem, what other reason would provoke this error?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Problems with a plugin Certificate
Hi,
A question about this remark:
The error message you attached indicated that Oxygen complains about establishing a connection to your HTTPS server, it does not complain that the JAR library of the add-on was signed incorrectly because in order to download the add-on's Jar library it first needs to established a trusted connection to the HTTPS server where you are hosting the add-on.
The error message you posted looks exactly like the on in our HTTPS troubleshooting section from the Oxygen User's Manual:
https://www.oxygenxml.com/doc/versions/ ... icate.html
Oxygen is a Java application and the Java VM bundled with Oxygen does not seem to accept this certificate you are using on your HTTPS server. In general self signed certificates are not accepted.
What version of Oxygen are you using? From what I remember in newer Oxygen versions the newer Java which is bundled with them accepts even server side HTTPS certificates signed with the free "Let's Encrypt" web site.
Regards,
Radu
A question about this remark:
What do you mean by that? Do you mean that the JAR library of the add-on is signed with a custom certificate? Or that the HTTPS server on which the add-on is placed has a custom certificate? Or both?We have been working on a plugin over the years and it has a custom Certificate
The error message you attached indicated that Oxygen complains about establishing a connection to your HTTPS server, it does not complain that the JAR library of the add-on was signed incorrectly because in order to download the add-on's Jar library it first needs to established a trusted connection to the HTTPS server where you are hosting the add-on.
The error message you posted looks exactly like the on in our HTTPS troubleshooting section from the Oxygen User's Manual:
https://www.oxygenxml.com/doc/versions/ ... icate.html
Oxygen is a Java application and the Java VM bundled with Oxygen does not seem to accept this certificate you are using on your HTTPS server. In general self signed certificates are not accepted.
What version of Oxygen are you using? From what I remember in newer Oxygen versions the newer Java which is bundled with them accepts even server side HTTPS certificates signed with the free "Let's Encrypt" web site.
If after checking "Automatically accept a security certificate, even if invalid" Oxygen is able to download the JAR library and check its own certificate and reports that it's good, then as I mentioned above the problem is not in how the add-on's JAR library was signed but in the certificate your HTTPS server uses.The dialog comes up and it shows no problems at all, and that includes letting us check the cert while downloading and we can see that the plugin itself is marked as having a valid certificate.
We have changed the keystore in the plugin many times in the last couple of days, but all of them seem to be working this way.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 18
- Joined: Tue Jul 12, 2022 10:17 pm
Re: Problems with a plugin Certificate
Hello Radu
Thanks for the quick response.
In this case both the individual jar and the server have their certificate, and we are experiencing this error on oxygen version 17, we also have tried this with both versions 23 and 24 and there is no problem with them, they are capable of downloading the add on with no problems or warnings or any kind.
Thanks and Regards,
Frank
Thanks for the quick response.
In this case both the individual jar and the server have their certificate, and we are experiencing this error on oxygen version 17, we also have tried this with both versions 23 and 24 and there is no problem with them, they are capable of downloading the add on with no problems or warnings or any kind.
Thanks and Regards,
Frank
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Problems with a plugin Certificate
Hi Frank,
Newer Oxygen versions are bundled with newer Java VM's and newer Java VM's are capable of accepting a wider range of certificates.
Regards,
Radu
Newer Oxygen versions are bundled with newer Java VM's and newer Java VM's are capable of accepting a wider range of certificates.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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