summaryrefslogtreecommitdiff
path: root/system/tls/enabledev.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-28 15:42:11 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-28 15:42:11 -0800
commitcdc165406e11090263236a5a6afce3e84077bdf9 (patch)
tree416e6a56c60ee8a44f50d76da3be7c6be13447c8 /system/tls/enabledev.go
parentabb215898632a947adf1c3cbf4a1a6abc83c477c (diff)
adding hint to troubleshoot ssl cert issues on chrome
Diffstat (limited to 'system/tls/enabledev.go')
-rw-r--r--system/tls/enabledev.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/tls/enabledev.go b/system/tls/enabledev.go
index 092701a..35c8e45 100644
--- a/system/tls/enabledev.go
+++ b/system/tls/enabledev.go
@@ -27,5 +27,8 @@ func EnableDev() {
key := filepath.Join(vendorPath, "devcerts", "key.pem")
go log.Fatalln(http.ListenAndServeTLS(":10443", cert, key, nil))
- fmt.Println("Server listening on :10443 for HTTPS requests... [DEV]")
+ fmt.Println("Server listening on https://localhost:10443 for requests... [DEV]")
+ fmt.Println("----")
+ fmt.Println("If your browser rejects HTTPS requests, try allowing insecure connections on localhost.")
+ fmt.Println("on Chrome, visit chrome://flags/#allow-insecure-localhost")
}