robotframework-httprequestlibrary icon indicating copy to clipboard operation
robotframework-httprequestlibrary copied to clipboard

Added support for client tls

Open neilblue opened this issue 7 years ago • 3 comments

Updated library to use new httpclient keystore support

neilblue avatar Jun 22 '17 12:06 neilblue

Snapshot version not working according automated tests, so some work still needed. I think httpclient itself might be OK.

Results:

Get HTTPS & Verify Cert                                               | FAIL |
IO exception. Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
------------------------------------------------------------------------------
Get HTTPS & Verify Cert with a CA bundle                              | FAIL |
IO exception. Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
------------------------------------------------------------------------------
Get With Auth                                                         | FAIL |
IO exception. Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Hi-Fi avatar Jun 27 '17 06:06 Hi-Fi

Please add support for Snapshots to POM-file, so Travis build can test that things work.

New version of httpclient is working with library, so fix is just for Travis (and developers).

<repositories>
	<repository>
		<id>snapshots-repo</id>
		<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		<releases>
			<enabled>false</enabled>
		</releases>
		<snapshots>
			<enabled>true</enabled>
		</snapshots>
	</repository>
</repositories>

Hi-Fi avatar Jul 08 '17 17:07 Hi-Fi

It's not compiling, as some changes are introduced to httpclient because of proxy support.

Hi-Fi avatar Jul 10 '17 10:07 Hi-Fi