Menu

#16 Java RTK cert SSL

Java RTK
open
nobody
8
2018-02-27
2018-02-05
No

Hello my name is José

I am trying to connect to the server from my registrar and it always gives me the same error I already tried with multiple certificates and I can not connect.

The error is as follows

Start of the Session example
Connecting to the EPP Server and getting the greeting
Exception! [com.tucows.oxrs.epprtk.rtk.transport.EPPTransportException] [Failed to establish secure connection to server. Perhaps a bad certificate? -- use -Djavax.net.debug=all to see errors.]
com.tucows.oxrs.epprtk.rtk.transport.EPPTransportException: Failed to establish secure connection to server. Perhaps a bad certificate? -- use -Djavax.net.debug=all to see errors.
at com.tucows.oxrs.epprtk.rtk.transport.EPPTransportTCPTLS.connect(EPPTransportTCPTLS.java:183)
at com.tucows.oxrs.epprtk.rtk.EPPClient.connect(EPPClient.java:452)
at com.tucows.oxrs.epprtk.rtk.EPPClient.connectAndGetGreeting(EPPClient.java:657)
at com.tucows.oxrs.epprtk.rtk.example.SessionExample.main(SessionExample.java:129)

Someone can help me?

best reguarde José Gonçalves

Discussion

  • David Su

    David Su - 2018-02-22

    In epp-rtk project, there is a rtk.properties under java/etc folder

    And replace the default value with the following
    rtk.transport=EPPTransportTCP

     
  • José Gonçalves

    hello David Su

    Thanks for your help

    I replacethe default value with the following for
    rtk.transport=EPPTransportTCP

    but now give me the following error

    Start of the Session example
    Connecting to the EPP Server and getting the greeting
    Exception! [java.lang.NullPointerException] [null]
    java.lang.NullPointerException
    at com.tucows.oxrs.epprtk.rtk.xml.EPPXMLBase.getDocumentElement(EPPXMLBase.java:461)
    at com.tucows.oxrs.epprtk.rtk.xml.EPPGreeting.fromXML(EPPGreeting.java:178)
    at com.tucows.oxrs.epprtk.rtk.EPPClient.getGreeting(EPPClient.java:710)
    at com.tucows.oxrs.epprtk.rtk.EPPClient.connectAndGetGreeting(EPPClient.java:659)
    at com.tucows.oxrs.epprtk.rtk.example.SessionExample.main(SessionExample.java:129)

        You can help me?
    

    the best compliments josé gonçalves

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.