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

Is it safe to include localhost into your connect-src for CSP?
Quit Browser-sync from terminal
lite-serverbs-config.js: middleware and array of folders
Make BrowserSync use the real https URL
Can we use browser sync on external url
How to replace .html with forward slash in BrowserSync?
Error during instillation of browser sync
When using browser-sync,why is the browser saying cannot get, while everything seems fine
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?

Categories

HOME
azure-stream-analytics
dns
pda
twig
themes
saml-2.0
solaris
spring-data-redis
google-cloud-functions
rds
echo
x264
retrofit2
nstableheaderview
recordrtc
accessibility
pcl-crypto
android-securityexception
cmdb
rtf
naivebayes
onedrive-api
symmetricds
libusb
internationalization
null-pointer
feathersjs
boost-icl
sar
ksh
r-mice
strongname
8051
carrierwave
mql
testcomplete
panoramas
memory-address
erb
sql-server-ce
z-notation
password-protection
hackintosh
kill
xv6
ssrs-2014
bindingnavigator
tcc
file-sharing
monkey-testing
opencmis
double-click
x-ray
ngmaterial
cd-burning
javafx-css
taocp
stax
custom-lists
qtplugin
jodd
simevents
shopping
http-status-code-401
findfirst
halcon
phpgrid
file-move
xvim
zen-cart
finalbuilder
matlab-deployment
uvc
osc
android-broadcast
j-security-check
ejb-2.x
browserify-shim
formview
mdichild
angular-carousel
cuba
memset
android-framework
synapse
visual-studio-express
embedded-fonts
tlf
mantle
windows-98
objectquery
mysql-error-1205
tournament
inline-formset
strtod
interop-domino
wysiwym
appliance
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