com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: Certificate for <localhost> doesn't match common name of the certificate subject: my-ssl-test

GitHub | bitsofinfo | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    com.netflix.eureka.shouldSSLConnectionsUseSystemSocketFactory not working

    GitHub | 9 months ago | bitsofinfo
    com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: Certificate for <localhost> doesn't match common name of the certificate subject: my-ssl-test
  2. 0

    Spring Cloud Config Eureka-first approach not working

    Stack Overflow | 1 year ago | chrx
    com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused
  3. 0

    Eureka Peer awareness example not working

    Stack Overflow | 1 year ago | Khuzi
    com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    abacus-eureka-plugin application issue

    GitHub | 11 months ago | Pratibha-28
    com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused
  6. 0

    How to link server container and application container in aws ec2?

    Stack Overflow | 6 months ago | Khalisaran Saran
    com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.sun.jersey.api.client.ClientHandlerException

    javax.net.ssl.SSLException: Certificate for <localhost> doesn't match common name of the certificate subject: my-ssl-test

    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle()
  2. Jersey Apache HTTP Client 4.x
    ApacheHttpClient4Handler.handle
    1. com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187)[jersey-apache-client4-1.19.1.jar:1.19.1]
    1 frame
  3. jersey-client
    GZIPContentEncodingFilter.handle
    1. com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123)[jersey-client-1.19.1.jar:1.19.1]
    1 frame
  4. eureka-client
    EurekaIdentityHeaderFilter.handle
    1. com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27)[eureka-client-1.4.8.jar:1.4.8]
    1 frame
  5. jersey-client
    WebResource$Builder.post
    1. com.sun.jersey.api.client.Client.handle(Client.java:652)[jersey-client-1.19.1.jar:1.19.1]
    2. com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)[jersey-client-1.19.1.jar:1.19.1]
    3. com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)[jersey-client-1.19.1.jar:1.19.1]
    4. com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570)[jersey-client-1.19.1.jar:1.19.1]
    4 frames
  6. com.netflix.discovery
    EurekaHttpClientDecorator$1.execute
    1. com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.register(AbstractJerseyEurekaHttpClient.java:56)[eureka-client-1.4.8.jar:1.4.8]
    2. com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$1.execute(EurekaHttpClientDecorator.java:59)[eureka-client-1.4.8.jar:1.4.8]
    2 frames