Hi Bart,

Thank you for your response.
I created source patch for this, but this still doesn't work for me.
Now I got error:

Error putting resource: javax.net.ssl.SSLKeyException: RSA premaster secret error
Setting property: http://hippo.nl/cms/1.0 # createdBy = root
Setting property: http://hippo.nl/cms/1.0 # subjects =
Setting property: http://hippo.nl/cms/1.0 # lastSaved = 2008-09-30T15:34:12Z
Setting property: http://hippo.nl/cms/1.0 # references =
Setting property: http://hippo.nl/cms/1.0 # date =
Setting property: http://hippo.nl/cms/1.0 # index = 00000000005
Setting property: http://hippo.nl/cms/1.0 # latestVersion = 103
Setting property: http://hippo.nl/cms/1.0 # caption = messages_nl
Setting property: http://hippo.nl/cms/1.0 # author =
Setting property: http://hippo.nl/cms/1.0 # lastModifiedBy = root
Setting property: http://hippo.nl/cms/1.0 # createVersionOnUnpublication = true Setting property: http://hippo.nl/cms/1.0 # createVersionOnPublication = true Setting property: http://hippo.nl/cms/1.0 # UID = 0f0a7669c0a803030111c617919f19d4
Setting property: http://hippo.nl/cms/1.0 # links =
Setting property: http://hippo.nl/cms/1.0 # dossiers =
Setting property: http://hippo.nl/cms/1.0 # dossier =
Setting property: http://hippo.nl/cms/1.0 # workflowId = 55
Setting property: http://hippo.nl/cms/1.0 # lastWorkflowUser = root
Setting property: http://hippo.nl/cms/1.0 # jobCategory =
Setting property: http://hippo.nl/cms/1.0 # time =
Setting property: http://hippo.nl/cms/1.0 # organisation =
Setting property: http://hippo.nl/cms/1.0 # publicationDate = 200809301534
Setting property: http://hippo.nl/cms/1.0 # type = properties
Setting property: http://hippo.nl/cms/1.0 # title =
Setting property: http://hippo.nl/cms/1.0 # contentType =
Error setting properties: javax.net.ssl.SSLKeyException: RSA premaster secret error

Do you have any idea what could be wrong?

Thanks in advance.

Kind regards
Petar

Bart van der Schans wrote:
On 1-10-2008 11:24, Petar Becic wrote:
Hi all,

I found that HippoDatacopy tool doesn't work anymore since SSL
certificates are configured on the destination repository.
When I tried to copy some content, I got error:
Error setting properties:
org.apache.commons.httpclient.HttpRecoverableException:
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing
the status line from the response: unable to find line starting
with "HTTP"

I checked source code and in the class CopyRepository.java I found that
protocol is hardcoded:
m_destRootUri = "http://"; + host + ":" + port + rootpath + path;

Is there any reason for this?
No. It's just historical, there was never a need to also implement https.

IMO protocol should be configurable also.
It would be nice ;) I added the option for the source location in April with "location.protocol". So probably the best thing to do is to add:

plugin.1.configuration.destination.location.protocol.

Should be a quite trivial fix. See the source patch in:

http://svn.hippocms.org/viewvc/hippo-tools/hippo-wdbp/trunk/src/java/nl/hippo/webdav/batchprocessor/Configuration.java

Regards,
Bart



Thanks in advance.

--
Met vriendelijke groet / Kind regards,
Petar Becic
Senior Software Developer
Levi9 Global Sourcing
===============================================================
Adress: Jan van Goyenkade 8, 1075 HP Amsterdam
Tel.: (+31) (0) 20 6701 947
Mobile: (+381) (0) 62 415 171
Email: [EMAIL PROTECTED]
SkypeID: p.becic
Internet: www.levi9.com

Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
===============================================================
This e-mail may contain confidential or privileged information. If you
are not (one of) the intended recipient(s), please notify the sender
immediately by reply e-mail and delete this message and any attachments
permanently without retaining a copy. Any review, disclosure, copying,
distribution or taking any action in reliance on the contents of this
e-mail by persons or entities other than the intended recipient(s) is
strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and
conditions. These general terms and conditions can be found on
www.levi9.com and a copy will be promptly submitted to you on your
request and free of charge.

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html




--
Met vriendelijke groet / Kind regards,
Petar Becic
Senior Software Developer
Levi9 Global Sourcing
===============================================================
Adress:    Jan van Goyenkade 8, 1075 HP Amsterdam
Tel.:      (+31) (0) 20 6701 947
Mobile:    (+381) (0) 62 415 171
Email:     [EMAIL PROTECTED]
SkypeID:   p.becic
Internet:  www.levi9.com

Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
===============================================================
This e-mail may contain confidential or privileged information. If you are not 
(one of) the intended recipient(s), please notify the sender immediately by 
reply e-mail and delete this message and any attachments permanently without 
retaining a copy. Any review, disclosure, copying, distribution or taking any 
action in reliance on the contents of this e-mail by persons or entities other 
than the intended recipient(s) is strictly prohibited and may be unlawful.

The services of Levi9 are exclusively subject to its general terms and 
conditions. These general terms and conditions can be found on www.levi9.com 
and a copy will be promptly submitted to you on your request and free of charge.

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to