browser-sync


SSL chain of trust with browser-sync?


I'm trying to set up a gulp HTTPS server. My server's certificate is signed by my company's CA. In order for it to be validated by a browser, the CA's certificate itself also needs to be specified, so that the client browser can validate the chain of trust.
Node's HTTPS object has an option "ca" for listing trusted certificates to establish the chain of trust. Is there a way to specify ca certs in browser-sync? Optimally, I'd be looking for something like the snippet below, but I'd take a workaround, if there are 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']
}
});

Related Links

How to sync the actions performed on webpage using Browsersync?
lite-server, BrowserSync: setting other URL path than /
Gulp and Browsersync injecting CSS but causing a full reload
Browser-sync - serve “node_modules” out of “src” directory
[browser-sync]browser-sync proxy can't connect to Rails Application
Browserstack not serving index.html by default
whatever i do i can't access the external URL for the site or UI
How do I kill browserSync before creating it?
Unable to install browser-sync on windows 7
browser-sync proxy fails to connect
What's the equivalent bs-config.js (Browsersync) of this command?
How to quit the browser-sync server, or how to know the running server pid
browsersync not working (note: not using gulp)
Using browsersync with gulp/nodemon
BrowserSync Not Reloading Changes
Setup browser-sync to serve routes from absolute directories on windows

Categories

HOME
assembly
deep-learning
github-for-windows
formal-languages
spring-data-redis
edge
scripting
gembox-spreadsheet
limit
zip
mapbox
vsm
code-coverage
crystal-lang
joomla3.0
pega
watson-conversation
line
opengl-es-3.0
code-generation
symmetricds
do-while
html5-appcache
user-experience
string-concatenation
scriptella
entity-relationship-model
inversion-of-control
sinch
quickfixj
r-grid
wacom
code-snippets
twos-complement
mnist
processwire
playframework-2.1
ssrs-2014
android-exoplayer
apache-spark-dataset
stylecop
uiimage
fwrite
gitlist
sonarlint-eclipse
configurationmanager
rserve
payara-micro
subnet
java-websocket
rsa-archer-grc
branch-prediction
slackware
mapxtreme
mongodb-php
i386
installshield-2010
avspeechsynthesizer
xdoclet
nservicebus5
deep
false-sharing
cycle2
qt5.2
zen-cart
slash
jsvc
canvg
rapidsvn
jbake
ghcjs
punycode
iso-prolog
encryption-asymmetric
xml-namespaces
jqmodal
scriptaculous
ice-cube
robotlegs
frameworkelementfactory
correlated-subquery
lambdaj
httponly
relative
pinch
load-time
instantiationexception
maven-1
aspmenu
duplex
windows-identity
firefox-3
xslcompiledtransform
change-management
cardspace
commercial-application

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App