최근 검색


최근 검색 없음

Sylvain Leray's Avatar

Sylvain Leray

가입한 날짜: 2021년 5월 28일

·

마지막 활동: 2021년 10월 16일

팔로잉

0

팔로워

0

총 활동 수

3

투표 수

0

가입 플랜

1

활동 개요

님의 최근 활동 Sylvain Leray

Sylvain Leray님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

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

댓글 보기 · 2021년 1월 20일에 게시됨 · Sylvain Leray

0

팔로워

0

투표 수

0

댓글


Sylvain Leray님이 에 게시물을 만듦

게시물 Developer - Zendesk APIs

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.

2021년 1월 20일에 게시됨 · Sylvain Leray

0

팔로워

4

투표 수

3

댓글