Recent searches


No recent searches

Calling API REST Certificate for <*****.zendesk.com> doesn't match any of the subject alternative names : [ssl385002.cloudflaressl.com, *.zdorigin.com, zdorigin.com]



Posted Jan 20, 2021

Hello,

I try to call zendesk API to create a ticket from my webapp.

From my computer I can call the API with curl

curl -v https://***.zendesk.com/api/v2/tickets.json --user ***@***com:password

From a main method in Java, it also works.

Problem occurs when I execute this code with an app deployed on a Tomcat server.

In the thread

https://develop.zendesk.com/hc/en-us/community/posts/360004305568-REST-API-hostname-in-certificate-didn-t-match

you suggest "add those certificates on your server". I downloaded them all but I don't really understand how/where i should add them so that my Tomcat will use them.


0

3

3 comments

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi @...! I'm not familiar with Tomcat, but I did a quick check and I found this article. I hope this helps!

0


Thanks a lot Greg for your answer. But this procedure is to set some certificate to secure your own tomcat apis, not to be able to call someone else's apis. I did it already and it doesn't change anything.

I'm quite confused why i can call zendesk api from a java main method but I can't call it anymore from a tomcat running on the same PC with the same Java

0


image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi Sylvain, sorry that didn't work. Unfortunately, this is something that is outside of the bounds of what we can support. I would recommend touching base with someone who can troubleshoot this on the server side to figure out if there is an issue with the OS that is running there. Perhaps there's an update that can help here. 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post