vanju
20 August 2019 07:25
1
I try to get handshake and use postman to make request.
Authorization header and two parameters in body:
target: https://*****:100/asana.php (with port, ssl - letsencrypt)
resource: 1106837714907611 (project id)
And get response:
asana.php looks like:
$headers = apache_request_headers();
if(!empty($headers[‘X-Hook-Secret’])){
$secret_token = $headers[‘$secret_token’];
header("X-Hook-Secret: " . $secret_token);
header(“HTTP/1.1 200 OK”);
}
vanju
20 August 2019 09:08
2
Hey @Bastien_Siebman , you’ve done lots of PHP webhooks - any ideas what might be amiss here?
It was a long time ago, you are way better than me at webhooks, regardless what language is used
@vanju
I think the odds are the issue is with the SSL certificate and/or configuration at your “target” server.
Take a look at this post:
Found the problem: mod_h2… Had http2 active on my webserver.
Are you able to fix that? Actually I am running on http/1.1 again.
Best regards,
Kevin
and the two posts here from @johnnygoodnow :
Hi @Stephane and others,
Unfortunately, not a lot comes to mind immediately with this specific scenario. One thing I’d recommend is making sure that your server can handle TLS 1.1+ (1.1 or 1.2 as of now) connections, along with 2048 bit certificates or greater (which was mentioned earlier).
I’m looking into our exact verification process to determine which CA bundle it uses and anything else it might do in that process, and will let you all know. Of note is that we have verified on our end tha…
See if any of that information helps.
1 Like
vanju
21 August 2019 09:46
6
Hello! Thanks for the answer! I use http 1.1. and Apache/2.4.29 that support certificates longer than 1024 bit.
So, it might work with letsencrypt? Maybe there are other ideas?