serial-port-json-server
serial-port-json-server copied to clipboard
Unable to connect via SSL to server..
It seems to start up fine but when I try to connect via wss://localhost:8990, I get the following
2016/04/24 15:38:00 server.go:2161: http: TLS handshake error from 192.168.1.16:51451: remote error: unknown certificate authority
I'm calling it as such and have checked permissions, etc.
serial-port-json-server -regex USB0 -scert /etc/local.d/sample-cert.pem -skey /etc/local.d/sample-key.pem -v
Any ideas?
Try using the sample certs
# Run serial-port-json-server (ports 8989 & 8990)
GOPATH_SPJS="$GOPATH/src/github.com/chilipeppr/serial-port-json-server"
cd $GOPATH_SPJS
pwd
$GOPATH_SPJS/serial-port-json-server -regex "ttyAC|usb" -scert $GOPATH_SPJS/sample-cert.pem -skey $GOPATH_SPJS/sample-key.pem -v # Start using included cert