mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-06 15:20:25 -06:00
15 lines
385 B
CoffeeScript
15 lines
385 B
CoffeeScript
fs = require("fs")
|
|
path = require("path")
|
|
sslRootCas = require('ssl-root-cas')
|
|
|
|
sslRootCas
|
|
.inject()
|
|
.addFile(path.join(__dirname, "certs", "server", "my-root-ca.crt.pem"))
|
|
|
|
options = {
|
|
key: fs.readFileSync(path.join(__dirname, "certs", "server", "my-server.key.pem"))
|
|
cert: fs.readFileSync(path.join(__dirname, "certs", "server", "my-server.crt.pem"))
|
|
}
|
|
|
|
module.exports = options
|