Visokio website     Downloads     Video tutorials     KnowledgeBase  
Security: SSL Certificate Error - Use your trusted certificate - Visokio Forums
Security: SSL Certificate Error - Use your trusted certificate
  • antonio     antonio March 7, 2012 6:47AM
    Sometimes users experience the following error when opening a file from an HTTPS link:
    "Server SSL error
    The server you are connecting to does not have a valid certificate from an authorised authority".

    This happens if the server certificate is not issued by certification authority, and it is self signed or issued by a private CMS.

    If you trust the server, you can add the server certificate to your trusted Java key store, and allow Omniscope to use it as trusted and verified certificate.

    The cause of the problem and solution are both well explained in this article.

    Here are the steps to allow Omniscope to recognise and use your server certificate:

    1. Use InstallCert tool
      - Get the InstallCert.java file from http://code.google.com/p/java-use-examples/source/browse/trunk/src/com/aw/ad/util/InstallCert.java
      - Compile the file using the "javac" command:
      javac InstallCert.java

    2. Add your server certificate
      - Run InstallCert, with the server hostname and https port (if available), then press “1” when ask for input:
      java InstallCert myserver.com:8080
      - Check the process has finished and generated a file named “jssecacerts“ in the same folder you run the InstallCert tool.

    3. Launch Omniscope with JVM parameter
      - See "Additional JVM arguments" here http://www.visokio.com/kb/installconfig .
      - Update your installconfig.properties file to have the following line:
      ADDITIONAL_JVM_ARGS=-Djavax.net.ssl.trustStore=c:\yourFolder\jssecacerts
      - Start Omniscope.

    For the sake of simplicity, please find attached a zip file with the 2 InstallCert tool classes already compiled and ready to run.
    Attachments
    InstallCert.zip 4K
  • 5 Comments
  • Satyala July 25, 2012 5:28AM
    The server you are connecting to does not have a valid certificate from an authorised authority.?

    Can i get the list of authorised autorities , so that i can get the certificate and install on my server.

  • antonio     antonio July 25, 2012 9:53AM
    To get the list of the trusted Certificate Authorities (CA) in your Java Key Store:
    - open command line (cmd.exe on Windows)
    - change dir to "your java installation folder/jre/lib/security" (e.g. c:\program files\Java\jre7\lib\security) using the "cd" command
    - type "keytool -v -list -keystore cacerts"
    - you will be asked for a password (the default one is null, so just press Enter)

    Otherwise, if you want to use your trusted certificate, just follow the steps on the post above.
  •     steve July 25, 2012 11:40AM
    @Satyala,

    The most likely reason for getting this error is using a testing server which isn't fully configured, or misconfiguration of a server.

    For normal use a server should be configured with a properly trusted certificate instead, and you should not have to do anything.

    We do not recommend routinely adding certificates in the manner described above, unless you are 100% sure you can trust the publisher.

    The first step you should take upon seeing this message is to contact your server administrator and ask them to resolve the problem on the server.
  • jagadeeshgk March 30, 2017 5:02AM
    Please advise solution for the below screenshot.

    image
    Attachments
    sec.png 10K
  • antonio     antonio March 30, 2017 5:39AM
    jagadeeshgk, you are trying to run "installcert-usn-2014115.jar" which I don't know what application is.
    Anyway that error means that the The IP/domain or port is incorrect (e.g. service is down)

Welcome!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership