n1k0/casperjs — Issue #49: casperjs is not sending --ssl-ignore-errors
Author: HudsonAfonso
Created: 2012-02-06 10:57:53+00:00
State: open

```javascript
// mycasperjs.js
var casper = require('casper').create({
verbose: true,
logLevel: 'warning'
});

casper.start('https://url');
casper.then(function() {
this.debugHTML();
});

casper.run(function() {
this.exit();
});
```
$ casperjs mycasperjs.js
`[warning] [phantom] Loading resource failed with status=fail (HTTP 200): https://url`

$ casperjs --ignore-ssl-errors=yes mycasperjs.js
`[warning] [phantom] Loading resource failed with status=fail (HTTP 200): https://url`

```javascript
// myphantomjs.js
phantom.casperPath = '/path/to/casperjs';
phantom.injectJs(phantom.casperPath + '/bin/bootstrap.js');

var casper = require('casper').create({
verbose: true,
logLevel: 'warning'
});

casper.start('https://url');
casper.then(function() {
this.debugHTML();
});

casper.run(function() {
this.exit();
});
```

$ phantomjs myphantomjs.js
`[warning] [phantom] Loading resource failed with status=fail (HTTP 200): https://url`

$ phantomjs --ignore-ssl-errors=yes myphantomjs.js
`HTML`