• Žiga Makuc
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 3
    Likes Received
  • 1
    Likes Given
  • 4
    Questions
  • 7
    Replies
I accidentialy pressed the downvote instead of upvote button on ideas https://success.salesforce.com/ideaSearch. Now I can't "undo" this. Any way to upvote it?
I'm using nginx as reverse proxy to access public site. The problem is when I try to login in that portal login site, that "portal" automatically redirects to https://mydomain.cs14.force.com/... I want it to stay on /, not mydomain.cs14.force.com/. Is this possible and how?
 
Does anyone have similar problem? I have CKEditor enabled for my custom rich text area fields on a custom object. The CKEditor included in Salesforce does not work anymore. It refreshes page repeatedly and you can't edit anything.

My solution was to download CKEditor and put it as Static Resource but I had to find the appropriate version (tried 15 so far)...and only one seem to be working with current data - so that it doesn't change it. But I'm still working on it, and haven't found the best solution so far. Any suggestions? Raising a case on Salesforce didn't help me, they told me it should work.
I would like to use my own certificates to log into Salesforce.
Idea:
User logs into a public site with a key  and then he confirms the certificate with which he will log in (key is connected to salesforce user).
He goes to another site, which requires this certificate and if it is correct, he is logged into salesforce (salesforce user).

Is this standard salesforce functionality or does it have to be implemented? If not, how can I implement this (login with certificate).
I accidentialy pressed the downvote instead of upvote button on ideas https://success.salesforce.com/ideaSearch. Now I can't "undo" this. Any way to upvote it?
Does anyone have similar problem? I have CKEditor enabled for my custom rich text area fields on a custom object. The CKEditor included in Salesforce does not work anymore. It refreshes page repeatedly and you can't edit anything.

My solution was to download CKEditor and put it as Static Resource but I had to find the appropriate version (tried 15 so far)...and only one seem to be working with current data - so that it doesn't change it. But I'm still working on it, and haven't found the best solution so far. Any suggestions? Raising a case on Salesforce didn't help me, they told me it should work.
Hello all,

I'm currently working on data integration for one of our customers. They are using Maconomy database system and they have set up some kind of web service through which we can access data and transfer it between Salesforce and Maconomy. At first we tried to use normal HTTP connection, but they couldn't change to port 80 as they had other services connected on that web service as well. So we decided to move to secure connection later to match Salesforce port range. 

First we have tried with two-way SSL connection but we had a lot of problems. First I'm constantly getting an error message:
System.CalloutException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
First we thought it was certificate problem. We created CA signed request inside Salesforce and sent it to our partner to sign it and they have returned signed certificate which we imported into Salesforce. Problem was that thing didn't worked (error above). Then I deleted certificate from org and requested a JKS certificate from them to import into Salesforce. Import was unsuccessful as nothing happened when I clicked import, no certificate has shown in org, nothing. 

Then we decided to just one one-way SSL secured conenction until we get data integration done, but we still have problems with error above. I have already spent a lot of day trying different things but nothing seems to work. I have also tried to connect directly to their web service through rest client extension for chrome with success so one way SSL connection seems to work, but not in Salesforce. The connection uses 10443 port. 

Now I would like to know what might be wrong here, their certificate is Signed with GeoTrust Global CA as is shown on this picture (the deleted part is the actual name of their company, I deleted it for security reasons): 
User-added image

Here is some code snippet from my testing web service (code is not final as I'm only trying to get thigns work first):
Http h = new Http();
HttpRequest req = new HttpRequest();
req.setEndpoint('https:/link-address:10443/some-things-after');
req.setHeader('Accept-Encoding', 'gzip,deflate');
req.setHeader('Content-Type', 'text/xml;charset=UTF-8'); 
req.setHeader('SOAPAction', 'https:/link-address:10443/some-things-after');
req.setHeader('Host', 'https://link-address:10443');
req.setHeader('Connection', 'Keep-Alive');
req.setMethod('POST');
req.setTimeout(120000);
req.setBody('format=JSON&type=TYPE_MQLQuery&user=******&pass=*******&mqlquery=mselect+Name1+from+OrderHeader+where+OrderNumber+%3D+100&mqlparams=%7B%7D&SimulationOnly=1');
		
HttpResponse res = new HttpResponse();
res = h.send(req);

Code always fails at last line when I send request. 

Now my question is, what can be done about that error? Is there something wrong with their certificate, server settings or Salesforce? I would really like to get this thing going ASAP as we are already 2 weeks behind schedule because of this connectivity issue. :( 

Best regards.
I'm using nginx as reverse proxy to access public site. The problem is when I try to login in that portal login site, that "portal" automatically redirects to https://mydomain.cs14.force.com/... I want it to stay on /, not mydomain.cs14.force.com/. Is this possible and how?
 
Does anyone have similar problem? I have CKEditor enabled for my custom rich text area fields on a custom object. The CKEditor included in Salesforce does not work anymore. It refreshes page repeatedly and you can't edit anything.

My solution was to download CKEditor and put it as Static Resource but I had to find the appropriate version (tried 15 so far)...and only one seem to be working with current data - so that it doesn't change it. But I'm still working on it, and haven't found the best solution so far. Any suggestions? Raising a case on Salesforce didn't help me, they told me it should work.
Hello all,

I'm currently working on data integration for one of our customers. They are using Maconomy database system and they have set up some kind of web service through which we can access data and transfer it between Salesforce and Maconomy. At first we tried to use normal HTTP connection, but they couldn't change to port 80 as they had other services connected on that web service as well. So we decided to move to secure connection later to match Salesforce port range. 

First we have tried with two-way SSL connection but we had a lot of problems. First I'm constantly getting an error message:
System.CalloutException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
First we thought it was certificate problem. We created CA signed request inside Salesforce and sent it to our partner to sign it and they have returned signed certificate which we imported into Salesforce. Problem was that thing didn't worked (error above). Then I deleted certificate from org and requested a JKS certificate from them to import into Salesforce. Import was unsuccessful as nothing happened when I clicked import, no certificate has shown in org, nothing. 

Then we decided to just one one-way SSL secured conenction until we get data integration done, but we still have problems with error above. I have already spent a lot of day trying different things but nothing seems to work. I have also tried to connect directly to their web service through rest client extension for chrome with success so one way SSL connection seems to work, but not in Salesforce. The connection uses 10443 port. 

Now I would like to know what might be wrong here, their certificate is Signed with GeoTrust Global CA as is shown on this picture (the deleted part is the actual name of their company, I deleted it for security reasons): 
User-added image

Here is some code snippet from my testing web service (code is not final as I'm only trying to get thigns work first):
Http h = new Http();
HttpRequest req = new HttpRequest();
req.setEndpoint('https:/link-address:10443/some-things-after');
req.setHeader('Accept-Encoding', 'gzip,deflate');
req.setHeader('Content-Type', 'text/xml;charset=UTF-8'); 
req.setHeader('SOAPAction', 'https:/link-address:10443/some-things-after');
req.setHeader('Host', 'https://link-address:10443');
req.setHeader('Connection', 'Keep-Alive');
req.setMethod('POST');
req.setTimeout(120000);
req.setBody('format=JSON&type=TYPE_MQLQuery&user=******&pass=*******&mqlquery=mselect+Name1+from+OrderHeader+where+OrderNumber+%3D+100&mqlparams=%7B%7D&SimulationOnly=1');
		
HttpResponse res = new HttpResponse();
res = h.send(req);

Code always fails at last line when I send request. 

Now my question is, what can be done about that error? Is there something wrong with their certificate, server settings or Salesforce? I would really like to get this thing going ASAP as we are already 2 weeks behind schedule because of this connectivity issue. :( 

Best regards.