SSL chain of trust with browser-sync? -
i'm trying set gulp https server. server's certificate signed company's ca. in order validated browser, ca's certificate needs specified, client browser can validate chain of trust.
node's https object has option "ca" listing trusted certificates establish chain of trust. there way specify ca certs in browser-sync? optimally, i'd looking snippet below, i'd take workaround, if there any.
browsersync.instance = browsersync.init({ server: { basedir: "app", index: "index.htm" }, https: { cert: './certs/servercert.pem, key: './certs/serverkey.pem', ca: ['./certs/mycompany-ca.cer', './certs/mycompany-root-ca.cer'] } });
Comments
Post a Comment