[
https://issues.apache.org/jira/browse/HTTPCLIENT-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879488#action_12879488
]
Angela Schmid commented on HTTPCLIENT-952:
------------------------------------------
Hello Oleg
Want to test the fix you made.
I am using trunk, but have problems generating the jar file with maven for
httpclient. For httpcore I can generate a jar in target.
Can you find an error in the log, see below ?
Can you please sent me a jar based on trunk, because I have to forward it to a
project, I did only the PoC.
Cheers, Angela
C:\Data\projects\wstip50_eclipse35\httpclient-trunk>C:\Data\projects\maven\apache-maven-2.2.1\bin\mvn
package
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] HttpComponents Client
[INFO] HttpClient
[INFO] HttpMime
[INFO] HttpClient Cache
[INFO] HttpClient OSGi bundle
[INFO] ------------------------------------------------------------------------
[INFO] Building HttpComponents Client
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Unable to load parent project from a relative path: Could not find the
model file 'C:\Data\projects\wstip50_eclipse35\project\pom.xml
'. for project unknown
[INFO] Parent project loaded from repository.
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] ------------------------------------------------------------------------
[INFO] Building HttpClient
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 1 resource
[INFO] Copying 1 resource to META-INF
[INFO] Copying 1 resource to META-INF
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
C:\Data\projects\wstip50_eclipse35\httpclient-trunk\httpclient\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.http.impl.cookie.TestBasicCookieAttribHandlers
Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec
> SSLSocketFactory.createSSLContext does not process trust store
> --------------------------------------------------------------
>
> Key: HTTPCLIENT-952
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-952
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.1 Alpha2
> Reporter: Angela Schmid
> Fix For: 4.1 Alpha3
>
>
> org.apache.http.conn.ssl.SSLSocketFactory.createSSLContext() does not process
> a provided trust store.
> Only the default (cacerts) is processed. An additional provided trust store
> is ignored.
> Adding the "trusted" certificate to the keystore, the peer is authenticated.
> Eventually
> tmfactory.init(keystore);
> needs to be
> tmfactory.init(truststore);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]