javax.net.ssl.SSLException: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found.

Atlassian JIRA | Unirenter IT | 11 months ago
  1. 0

    After upgrading from Bamboo 5.9.7 to Bamboo 5.10.0, HipChat integration using redirect in /etc/hosts as per https://confluence.atlassian.com/bamboo/integrating-bamboo-with-hipchat-289276960.html#IntegratingBamboowithHipChat-ConfigureBambooplanstosendnotificationstoyourHipChatserver which worked fine in 5.9.7, throws an error in log {noformat} 2016-01-22 12:40:25,472 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] I/O exception (javax.net.ssl.SSLException) caught when processing request: java. security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. 2016-01-22 12:40:25,472 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] Retrying request 2016-01-22 12:40:25,520 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] I/O exception (javax.net.ssl.SSLException) caught when processing request: java. security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. 2016-01-22 12:40:25,520 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] Retrying request 2016-01-22 12:40:25,572 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] I/O exception (javax.net.ssl.SSLException) caught when processing request: java. security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. 2016-01-22 12:40:25,572 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] Retrying request 2016-01-22 12:40:25,624 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HipchatNotificationTransport] Error using Hipchat API: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. javax.net.ssl.SSLException: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:287) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:267) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:124) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:157) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.atlassian.bamboo.hipchat.HipchatNotificationTransport.sendNotification(HipchatNotificationTransport.java:110) at com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:60) at com.atlassian.bamboo.deployments.notification.DeploymentNotificationEventListener.onDeploymentFinished(DeploymentNotificationEventListener.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Unknown Source) Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. at sun.security.util.HostnameChecker.matchDNS(Unknown Source) at sun.security.util.HostnameChecker.match(Unknown Source) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:284) ... 24 more {noformat} JRE is Oracle JRE 1.8.0.66 {noformat} java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) {noformat}

    Atlassian JIRA | 11 months ago | Unirenter IT
    javax.net.ssl.SSLException: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found.
  2. 0

    After upgrading from Bamboo 5.9.7 to Bamboo 5.10.0, HipChat integration using redirect in /etc/hosts as per https://confluence.atlassian.com/bamboo/integrating-bamboo-with-hipchat-289276960.html#IntegratingBamboowithHipChat-ConfigureBambooplanstosendnotificationstoyourHipChatserver which worked fine in 5.9.7, throws an error in log {noformat} 2016-01-22 12:40:25,472 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] I/O exception (javax.net.ssl.SSLException) caught when processing request: java. security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. 2016-01-22 12:40:25,472 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] Retrying request 2016-01-22 12:40:25,520 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] I/O exception (javax.net.ssl.SSLException) caught when processing request: java. security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. 2016-01-22 12:40:25,520 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] Retrying request 2016-01-22 12:40:25,572 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] I/O exception (javax.net.ssl.SSLException) caught when processing request: java. security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. 2016-01-22 12:40:25,572 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HttpMethodDirector] Retrying request 2016-01-22 12:40:25,624 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [HipchatNotificationTransport] Error using Hipchat API: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. javax.net.ssl.SSLException: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:287) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:267) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:124) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:157) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.atlassian.bamboo.hipchat.HipchatNotificationTransport.sendNotification(HipchatNotificationTransport.java:110) at com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:60) at com.atlassian.bamboo.deployments.notification.DeploymentNotificationEventListener.onDeploymentFinished(DeploymentNotificationEventListener.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Unknown Source) Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found. at sun.security.util.HostnameChecker.matchDNS(Unknown Source) at sun.security.util.HostnameChecker.match(Unknown Source) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:284) ... 24 more {noformat} JRE is Oracle JRE 1.8.0.66 {noformat} java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) {noformat}

    Atlassian JIRA | 11 months ago | Unirenter IT
    javax.net.ssl.SSLException: java.security.cert.CertificateException: No subject alternative DNS name matching api.hipchat.com found.
  3. 0

    Generate stubs for wso2 esb UsernameToken secured service

    Stack Overflow | 4 years ago | Ivo
    com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching xxxxxx found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    No subject alternative DNS name matching

    Stack Overflow | 3 years ago | Firzen
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching requestb.in found.
  6. 0

    C2DM not being send- No subject alternative DNS name matching android.clients.google.com found

    Stack Overflow | 5 years ago | sap
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching android.clients.google.com found.

  1. rp 1 times, last 8 months ago
  2. poroszd 1 times, last 9 months ago
14 unregistered visitors
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. java.security.cert.CertificateException

    No subject alternative DNS name matching api.hipchat.com found.

    at sun.security.util.HostnameChecker.matchDNS()
  2. Java RT
    HostnameChecker.match
    1. sun.security.util.HostnameChecker.matchDNS(Unknown Source)
    2. sun.security.util.HostnameChecker.match(Unknown Source)
    2 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:284)
    2. org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:267)
    3. org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:124)
    4. org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:157)
    5. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    6. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    7. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    9. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    9 frames
  4. com.atlassian.bamboo
    DeploymentNotificationEventListener.onDeploymentFinished
    1. com.atlassian.bamboo.hipchat.HipchatNotificationTransport.sendNotification(HipchatNotificationTransport.java:110)
    2. com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:60)
    3. com.atlassian.bamboo.deployments.notification.DeploymentNotificationEventListener.onDeploymentFinished(DeploymentNotificationEventListener.java:117)
    3 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  6. com.atlassian.event
    AsynchronousAbleEventDispatcher$1$1.run
    1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
    2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46)
    2 frames
  7. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2 frames
  8. com.atlassian.bamboo
    ImpersonationHelper$1.run
    1. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
    2. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
    3. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
    4. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
    4 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame