Command arguments with .Net api
I have a situation where I need to use the --ssl-blindly-trust-server or --ssl-ca-cert to get around an ssl issue. The problem is that I am using the .Net API, and do not see a way to supply command line arguments.
Is there a way to add command line argument using the .Net API.
Thanks,
Andy
Not at the moment, but we can add options for these.
That would be fantastic!
In the mean time, is there any other way to force Prince to ignore errors of the type:
warning: SSL: certificate subject name 'xxx' does not match target host name 'yyy'?
We have an case where we know exactly what is going on, and want to allow Prince to proceed with missmatched certificate for the site in question.
Is there an environment variable, or config file we can leverage?
Today we've updated the .Net interface to add a SetInsecure() method, which will disable SSL certificate checking. We don't recommend using this option in production environments if possible, as it negates the point of using SSL in the first place!
Fantastic! Thank you!
An yes, point well taken on not using this on prod environments.
Hello, is there support for other command line options yet?
particularly --media=screen
We have added a SetOptions method that you can call to pass other command-line options like this:
Prince.SetOptions("--media=screen")
Thank you