This commit: support for SSL client authentication ... tells us that there is a certificate flag to play with ...
My attempt:
phantomjs main.js \ --ssl-protocol=any \ --ssl-client-certificate-file=/tmp/joppli/data/certificate/certificado.crt \ --ssl-client-key-file=/tmp/joppli/data/certificate/certificado.key \ --ssl-client-key-passphrase=foobar \ --web-security=false
No matter what I try, I cannot access the page. I get:
page.onLoadFinished arguments[0] = "fail"
Is the above command correct? Why does this fail? How can I debug errors? ( fail message leaves much to be desired)
The page I'm trying to access is: https://www.sedecatastro.gob.es/
Without ssl: http://www.sedecatastro.gob.es/ it works fine though.
However, I cannot access some parts of this web page without a special certificate:
ssl phantomjs
superhero
source share