How to run Vue.js dev serve with https?

In the latest vuejs (as of May 7, 2018), you need to add a “vue.config.js” in the project root directory: vue.config.js: module.exports = { devServer: { open: process.platform === ‘darwin’, host: ‘0.0.0.0’, port: 8085, // CHANGE YOUR PORT HERE! https: true, hotOnly: false, }, } In this file, set the value: https: true

PhantomJS failing to open HTTPS site

I tried Fred’s and Cameron Tinker’s answers, but only –ssl-protocol=any option seem to help me: phantomjs –ssl-protocol=any test.js Also I think it should be way safer to use –ssl-protocol=any as you still are using encryption, but –ignore-ssl-errors=true will ignore (duh) all ssl errors, including malicious ones.