I'm getting an onResourceError related to SSL with PhantomJS on CentOS 6.5, PhantomJS version 1.9.1:
Error code: 99, description: Error creating ssl context ()
My script works fine on my windows dev environment, but stops on my production server running CentOS.
I've tried both popular answers on this StackOverflow question by setting --ignore-ssl-errors=true
and --ssl-protocol=any
(I've tried both of these options separately and combined). I've also tried setting --web-security=false
(I'm only using this script to access one page, which I trust very much). I've tried all combinations of combining these options, with no luck.
I've even gone so far as to follow a recommended solution by bgever@ on this page (Apr 29, 2015)to create an SHA256 security certificate by following these directions (which worked surprisingly smoothly) and use the --ssl-certificate-path=<path>
option, but I'm still getting the same error here. I've exhausted my resources and knowledge here, and I've made no progress. Any help would be really appreciated.