I created Web Service. I created Outbound Message. Everything works fine, while WS is hosted locally. After WS was deployed to development server, I was given an httpS url. ok. I changed OM's URL to httpS and in Remote Site setting. After this I'm having
javax.net.ssl.SSLPeerUnverifiedException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.pro
I found out that this is due to certificate (which I don't have in SF). So I go to browser, open my WS's URL, download certificate and tried upload it to SF. While uploading it says
Error: The certificate that you are uploading doesn't match the generated certificate signing request.
I started checking all fields in SF and in certificate and found out, that in certificate I have two OU fields. I tried to put one or another, I tried to put both, separated by comma - nothing helps. Maybe I need some another kind of certificate?