yuezhong | 2017-11-13 07:24:51 UTC | #1
keep encountering the following error.
javax.net.ssl.SSLPeerUnverifiedException: Certificate for <api.mypurecloud.com.au> doesn't match any of the subject alternative names: [array-stage.tdmsites.com]
https://login.mypurecloud.com.au/oauth/token works fine.
trying to login to https://apps.mypurecloud.com.au, always show up maintenance mode. only time it worked is when I am on my corporate network, it doesn't work when from home internet or mobile internet.
tim.smith | 2017-11-13 15:38:07 UTC | #2
Can you provide some context? What are you trying to do? I wouldn't expect our server's SSL cert to also be valid for your domain (array-stage.tdmsites.com).
yuezhong | 2017-11-14 00:10:44 UTC | #3
Hi Tim
i'm build an Java application that use the Notification API to receive real-time notification from PureCloud.
i can get the token with ApiClient, which connects to https://login.mypurecloud.com.au/oauth/token.
When a NotificationHandler is created, it will make a request to https://api.mypurecloud.com.au, which failed with below message javax.net.ssl.SSLPeerUnverifiedException: Certificate for doesn't match any of the subject alternative names: [array-stage.tdmsites.com]
I found out that i can only connect to https://apps.mypurecloud.com.au while i'm on the corporate (telstra) network, it doesn't work for home internet or mobile internet.
i also tried to logon to site https://apps.mypurecloud.com.au, it works fine while on my corporate network, it display the site is in maintenance mode if i connected via home internet/ mobile internet.
not sure if the apps.mypurecloud.com.au only allow the request from certain ip address range.
Thanks Yuezhong
tim.smith | 2017-11-14 15:17:20 UTC | #4
If you're seeing the maintenance mode screen, try clearing your brower's cache and local storage and reloading.
yuezhong, post:3, topic:2091
not sure if the apps.mypurecloud.com.au only allow the request from certain ip address range.
We don't block anyone.
system | 2017-12-15 15:17:27 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 2091