Is it possible to use the Tridion Docs WCF functions if your server does not have a valid cert? I am running the basic code seen at the link below but it throws an exception about trusting the server. The server does not have a valid certificate.
Is it possible to use the Tridion Docs WCF functions if your server does not have a valid cert? I am running the basic code seen at the link below but it throws an exception about trusting the server. The server does not have a valid certificate.
Hi Adam,
If this is about the transport certificate, then have a look at https://github.com/sdl/ISHRemote/blob/472f0c7074bf003431b89cf376ecc698e4c1c86b/Source/ISHRemote/Trisoft.ISHRemote/HelperClasses/CertificateValidationHelper.cs which is used in ISHRemote when you run a
New-IshSession -WsBaseUrl https://ish.example.com/ISHWS/ -PSCredential admin -IgnoreSslPolicyErrors
This is in essence a .NET Framework coding problem, which you can google the internet for. I do feel the above should get you going.
-Dave
Hi Adam,
If this is about the transport certificate, then have a look at https://github.com/sdl/ISHRemote/blob/472f0c7074bf003431b89cf376ecc698e4c1c86b/Source/ISHRemote/Trisoft.ISHRemote/HelperClasses/CertificateValidationHelper.cs which is used in ISHRemote when you run a
New-IshSession -WsBaseUrl https://ish.example.com/ISHWS/ -PSCredential admin -IgnoreSslPolicyErrors
This is in essence a .NET Framework coding problem, which you can google the internet for. I do feel the above should get you going.
-Dave
Thanks for the response Dave. I did try that and I get a different error message.
The provided URI scheme 'https' is invalid; expected 'http'.
Parameter name: via