Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-30 Thread Jörn Franke
;>>>>> >>>>>>>>>>> SSL will not be supported by this (however as I said there are >>>>>>>>>>> other parts of the code where there is a getInstance(TLS). And some >>>>>>>>>>> caveats: On JDK6+7 TLS only means TLSv1

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-30 Thread Jörn Franke
arly, disabling SSL would certainly break many >>>>>>>>>>>>>>>>> installations upon upgrade and we do not do that lightly. >>>>>>>>>>>

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-30 Thread Karl Wright
st Organisations should >>>>>>>>>> switch to >>>>>>>>>> TLSv1.2 in any case as all protocols below have been broken). >>>>>>>>>> While it works for all JDKs - probably JDK8 should be recommended >>>

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-22 Thread Jörn Franke
but I will need to rebuild. >>>>>>>>>>>>>>>> I don’t recommend TLSv1 - this is already outphased and will >>>>>>>>>>>>>>>>

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-22 Thread Karl Wright
gt;>>> write >>>>>>>>> more about this in the JIRA, once I verified that this solves the >>>>>>>>> problem. >>>>>>>>> Then TLSv1.3 is JDK11 only - I will investigate what that implies. >>>>>&g

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-22 Thread Jörn Franke
would be >>>>>>>>>>>>>> surprised if there is someone using such a server (most >>>>>>>>>>>>>> Organisations should switch to TLSv1.2 in any case as all >>>>>>>>>>>>>> protocols

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-22 Thread Karl Wright
;>>>>>>> >>>>>>>> SSLContext ctx = SSLContext.getInstance("TLSv1"); >>>>>>>> I don't know if TLS will downgrade to SSL if that's all that's >>>>>>>> available. >>>>>>>&

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-16 Thread Karl Wright
ns >>>>>>>> here. See my previous mail for details. >>>>>>>> >>>>>>>> Am 14.01.2020 um 23:51 schrieb Karl Wright : >>>>>>>> >>>>>>>>  >

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-16 Thread Jörn Franke
gt;>>>> available. >>>>>>>>>>> >>>>>>>>>>> Karl >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> On Tue, Jan 14,

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-16 Thread Karl Wright
y-83/index.html >>>>>>> >>>>>>> >>>>>>> Karl >>>>>>> >>>>>>> >>>>>>> On Tue, Jan 14, 2020 at 5:48 PM Karl Wright >>>>>>> wrote: >>>>>&g

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-16 Thread Karl Wright
ne I >>>>>>> can do some research into why TLS won't work as we are currently doing >>>>>>> it. >>>>>>> >>>>>>> Karl >>>>>>> >>>>>>> >>>>>>> On Tue, Jan 14, 2020

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-16 Thread Jörn Franke
1/816-7609/security-83/index.html >>>>>>>>>> >>>>>>>>>> Karl >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Tue, Jan 14, 2020 at 5:48 PM Karl Wright >>>>>>>>>>>

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-16 Thread Jörn Franke
>>>> connection by connection basis, not globally. If you think the only >>>>>>>>>> way to implement TLS is via global keystore I very much doubt it. >>>>>>>>>> >>>>>>>>>> I am on the road u

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-15 Thread Karl Wright
>>>>>> On Tue, Jan 14, 2020 at 12:56 PM Jörn Franke >>>>>> wrote: >>>>>> >>>>>>> These are TLS only. So maybe you have other servers where tls and >>>>>>> ssl are possible and it downgrades to ssl.howev

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-15 Thread Jörn Franke
ably I have >>>>>> to >>>>>> reinstall everything as the keystorefactory is a dependency in the >>>>>> connector. >>>>>> >>>>>> Am 14.01.2020 um 18:34 schrieb Karl Wright : >>>>>> >>>&

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-15 Thread Karl Wright
support TLS, that would be great. The >>>>> basic infrastructure should still work; it is just a custom keystone and >>>>> associated SSLSocketFactory, which I think also is used for TLS >>>>> connections, unless I am missing something. >>&g

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-15 Thread Jörn Franke
>>>>>>>> basic infrastructure should still work; it is just a custom keystone >>>>>>>> and associated SSLSocketFactory, which I think also is used for TLS >>>>>>>> connections, unless I am missing something. >>>>>>>>

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-15 Thread Karl Wright
. >>>> >>>> On Tue, Jan 14, 2020, 9:38 AM Jörn Franke wrote: >>>> >>>>> Yes this works fine. I believe the error comes from the fact that TLS >>>>> connections are not supported. >>>>> >>>>> Am 14.01.2020

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Jörn Franke
nnections are not supported. >>>>>>> >>>>>>>>> Am 14.01.2020 um 15:31 schrieb Michael Cizmar >>>>>>>>> : >>>>>>>>> >>>>>>>>  >>>>>>>>

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Karl Wright
lusa.com>: >>>> >>>>  >>>> >>>> If you want to test the url and the ssl, I would recommend attempting >>>> using SSLPoke to confirm that they keystore is setup properly: >>>> >>>> >>>> >>>>

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Jörn Franke
gt;>> Am 14.01.2020 um 15:31 schrieb Michael Cizmar >>>>>>> : >>>>>>> >>>>>>  >>>>>> If you want to test the url and the ssl, I would recommend attempting >>>>>> using SSLPoke to confirm that they keystore is setup properly: &g

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Jörn Franke
recommend attempting >>>>> using SSLPoke to confirm that they keystore is setup properly: >>>>> >>>>> >>>>> >>>>> https://github.com/MichalHecko/SSLPoke >>>>> >>>>> >>>>>

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Karl Wright
erly: >> >> >> >> https://github.com/MichalHecko/SSLPoke >> >> >> >> Michael >> >> >> >> *From: *Karl Wright >> *Reply-To: *"user@manifoldcf.apache.org" >> *Date: *Tuesday, January 14, 2020 at 7:2

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Karl Wright
 >>> >>> If you want to test the url and the ssl, I would recommend attempting >>> using SSLPoke to confirm that they keystore is setup properly: >>> >>> >>> >>> https://github.com/MichalHecko/SSLPoke >>> >>> >>> >>> Mi

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Jörn Franke
; >>> >>> >>> Michael >>> >>> >>> >>> From: Karl Wright >>> Reply-To: "user@manifoldcf.apache.org" >>> Date: Tuesday, January 14, 2020 at 7:21 AM >>> To: "user@manifoldcf.apache.org&q

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Karl Wright
rm that they keystore is setup properly: > > > > https://github.com/MichalHecko/SSLPoke > > > > Michael > > > > *From: *Karl Wright > *Reply-To: *"user@manifoldcf.apache.org" > *Date: *Tuesday, January 14, 2020 at 7:21 AM > *To: *"u

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Jörn Franke
setup properly: > > https://github.com/MichalHecko/SSLPoke > > Michael > > From: Karl Wright > Reply-To: "user@manifoldcf.apache.org" > Date: Tuesday, January 14, 2020 at 7:21 AM > To: "user@manifoldcf.apache.org" > Subject: Re: CSWS Conn

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Michael Cizmar
To: "user@manifoldcf.apache.org" Subject: Re: CSWS Connector : ServiceConstructionException: Failed to create service Hmm, others have succeeded setting up SSL connections with the current code. Hoping they chime in here. Karl On Tue, Jan 14, 2020, 8:19 AM Jörn Franke mailto:jornfra.

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Jörn Franke
I know that the CAs are correct as they work with other Java tools. > Am 14.01.2020 um 14:21 schrieb Karl Wright : > >  > Hmm, others have succeeded setting up SSL connections with the current code. > Hoping they chime in here. > > Karl > >> On Tue, Jan 14, 2020, 8:19 AM Jörn Franke wrote:

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Karl Wright
Hmm, others have succeeded setting up SSL connections with the current code. Hoping they chime in here. Karl On Tue, Jan 14, 2020, 8:19 AM Jörn Franke wrote: > It seems that it has indeed a certificate issue as it cannot find a valid > certification path to the target. The thing is: I added

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-14 Thread Jörn Franke
It seems that it has indeed a certificate issue as it cannot find a valid certification path to the target. The thing is: I added those certificates in the UI should it should not happen. > Am 10.01.2020 um 20:51 schrieb Jörn Franke : > >  > 2.15 ... > I will try on the weekend to see if I

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-10 Thread Karl Wright
Can I ask what version of MCF you are using? There were issues with SSL in the first release of the csws connector if I recall correctly, that were fixed for the second release. Karl On Fri, Jan 10, 2020 at 11:42 AM Jörn Franke wrote: > I added root, intermediate and server certificate (in

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-10 Thread Jörn Franke
I added root, intermediate and server certificate (in base64 cer, it seems to be recognized by manifoldcf), but I still get the same message. I will try to get somehow the full stacktrace > Am 10.01.2020 um 17:21 schrieb Karl Wright : > >  > If you are using SSL you need to have the proper

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-10 Thread Karl Wright
If you are using SSL you need to have the proper certificate saved in the connection's keystore. Karl On Fri, Jan 10, 2020 at 11:20 AM Jörn Franke wrote: > It is actually a server using configuration of the command - driven > multi-process model (but the agents executed as a service and the

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-10 Thread Jörn Franke
It is actually a server using configuration of the command - driven multi-process model (but the agents executed as a service and the war on a tomcat executed as a service) under Linux. I thought as well that it cannot reach the webservices, the question is why. On the same server I can reach

Re: CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-10 Thread Karl Wright
How are you running manifoldcf? Single process example, or a custom setup of some kind? This exception is a "catch all" exception generated far below anything in ManifoldCF, but usually means it cannot download the WSDLs from the service. Getting the full exception dumped in the log requires a

CSWS Connector : ServiceConstructionException: Failed to create service

2020-01-10 Thread Jörn Franke
Hi, I tried to use the CSWS connector, but already for the Authority connection I receive a org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. Unfortunately I don’t see more details , also not in the log (debug is activated). I try to get a little bit more