Have you any plans to implement HTTPS into Http Request method for automation ?

TigerOfTheSnow October 17, 2017

Have you any plans to implement HTTPS into Http Request method for automation ?

 

3 answers

1 accepted

0 votes
Answer accepted
TigerOfTheSnow October 24, 2017

I have some investigations and found problem was a missing CA certs for endpoint .

"sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

Resolved by this recipe  https://confluence.atlassian.com/kb/connecting-to-ssl-services-802171215.html

<JAVA_HOME>/bin/keytool -import -alias <server_name> -keystore <JAVA_HOME>/jre/lib/security/cacerts -file public.crt
Alexander Sundström
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 25, 2017

OK,

Thanks for the update. I'll save that documentation if others may encounter the same issue.

Best Regards
Alexander

0 votes
TigerOfTheSnow October 18, 2017

I have tested it with a stub and there is no any requests over https (443) http (8080) work fine. Do you have any ideas what would i check ?

image.pngimage.png

Alexander Sundström
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2017

I managed to execute a POST function using https, and I could see the result on the service that it had been executed correctly.

I would think that the error is not related to the automation engine, but rather the endpoint used. I ain't no expert on https: and SSL certificate, but perhaps the endpoint doesn't support https and just http, in that case, this will fail.

Best Regards
Alexander

0 votes
Alexander Sundström
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2017

Hi Andrey, 

This is supported as it is, so you can enter an url like https://

I have also updated our documentation to make this more clear.

Best Regards
Alexander

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events