Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

SalesForce updates to SHA-256

Dear all,
SalesForce is going to update their security certificates to SHA-256.
See also 
https://help.salesforce.com/apex/HTViewSolution?urlname=HTTPS-Security-Certificate-Switch-from-SHA-1...
I aked myself which impact this may have on our existing integration so I setup a small tSalesForceConnection job.
My regular login data works fine (connected, job is done). As described here:

As an example, change https://login.salesforce.com/services/Soap/u/32.0 to https://sha2test.salesforce.com/services/Soap/u/32.0 while leaving the path as-is.


I changed the SF URL (note: we use 24.0 instead). I got following error message:
 connected
Exception in component tSalesforceConnection_1
org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:310)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:194)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:13356)
at org.talend.salesforce.SforceBasicConnection.renewSession(SforceBasicConnection.java:75)
disconnected
at org.talend.salesforce.SforceBasicConnection.init(SforceBasicConnection.java:69)
at org.talend.salesforce.SforceBasicConnection.<init>(SforceBasicConnection.java:48)
at org.talend.salesforce.SforceBasicConnection.<init>(SforceBasicConnection.java:25)
at org.talend.salesforce.SforceBasicConnection$Builder.build(SforceBasicConnection.java:120)
at salesforce_inxmail.tmp_0_1.tmp.tSalesforceConnection_1Process(tmp.java:319)
at salesforce_inxmail.tmp_0_1.tmp.runJobInTOS(tmp.java:574)
at salesforce_inxmail.tmp_0_1.tmp.main(tmp.java:431)

Normally it should be something like invalid user etc. 
PS: SalesForce Sandboxes will be migrated to the new certificate on April 1st. All other instances will be changing on August.
Labels (3)
5 Replies
Anonymous
Not applicable
Author

Hi zo,
Did you try it on latest released version 5.6.1? Have you already created a new feature jira issue for it?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
yes, I used 5.6.1. and no I didn't create a Jira ticket due to the error message.
Anonymous
Not applicable
Author

Has there been any progress on this issue? 
Anonymous
Not applicable
Author

Hi,
I'm working on Talend ver 4.0.2 and 4.1.2. I have integrations where Talend connects to Salesforce.
I do test whether connection will works after Salesforce certificate change and I've received the same problem with "Length Required" as OZ.
On the Salesforce community I've found suggestion to comment out or delete line with "chunked" parameter in axis2.xml file.
I've done as suggested above, but problem still occurs
Any suggestion what can be done in this case?
Regards,
Lukasz Wrobel
Anonymous
Not applicable
Author

Dear all,
still no sucess. same error message occurs; doesn't matter which URL I use - neither  https://sha2test.salesforce.com/services/Soap/u/24.0 nor https://gs0.salesforce.com worked. I'm going to wait until sandbox enviroments have been updated and give it then a further try.