bitshares / open-explorer

Open Source BitShares Blockchain Explorer
https://open-explorer.io
MIT License
20 stars 41 forks source link

Enabling HTTPS via certbot caused issues #12

Closed grctest closed 4 years ago

grctest commented 6 years ago

I used the default nginx settings, then used certbot to create an HTTPS cert & redirect non-HTTPS traffic through HTTPS.

The following font gets blocked, perhaps removing 'http://' from the code could change this, or it's something which I can disable in nginx config perhaps?

Blocked loading mixed active content “http://fonts.googleapis.com/css?family=Open+Sans:300italic,600italic,400,600,300,700”[Learn More]
hertz.network
Blocked loading mixed active content “http://fonts.googleapis.com/css?family=Open+Sans:300italic,600italic,400,600,300,700”[Learn More]
hertz.network

The following is not clear what the problem is, perhaps it's similar to the above that non-https content (the external APIs being contacted) is being blocked?

Error: The operation is insecure.
g/this.create@https://hertz.network/scripts/vendor.js:10:2986
f/e.prototype._connect@https://hertz.network/scripts/vendor.js:9:30879
e@https://hertz.network/scripts/vendor.js:9:30310
f/<@https://hertz.network/scripts/vendor.js:10:2840
a@https://hertz.network/scripts/app.js:1:6876
invoke@https://hertz.network/scripts/vendor.js:4:8495
ab/this.$get</</<@https://hertz.network/scripts/vendor.js:5:1561
n@https://hertz.network/scripts/vendor.js:4:20809
g@https://hertz.network/scripts/vendor.js:4:17538
S/<@https://hertz.network/scripts/vendor.js:4:17185
link@https://hertz.network/scripts/vendor.js:10:5346
K/<@https://hertz.network/scripts/vendor.js:3:27317
ta@https://hertz.network/scripts/vendor.js:4:29020
n@https://hertz.network/scripts/vendor.js:4:21687
g@https://hertz.network/scripts/vendor.js:4:17538
S/<@https://hertz.network/scripts/vendor.js:4:17185
Z/<@https://hertz.network/scripts/vendor.js:4:19728
d@https://hertz.network/scripts/vendor.js:4:18028
m@https://hertz.network/scripts/vendor.js:4:20172
k@https://hertz.network/scripts/vendor.js:10:4756
$broadcast@https://hertz.network/scripts/vendor.js:5:31359
m/<@https://hertz.network/scripts/vendor.js:10:7234
h/<@https://hertz.network/scripts/vendor.js:5:22640
$eval@https://hertz.network/scripts/vendor.js:5:29960
$digest@https://hertz.network/scripts/vendor.js:5:28493
$apply@https://hertz.network/scripts/vendor.js:5:30256
i@https://hertz.network/scripts/vendor.js:5:5545
u@https://hertz.network/scripts/vendor.js:5:7761
nb/</y.onload@https://hertz.network/scripts/vendor.js:5:8237
 <section data-ng-view="" class="view-container {{main.pageTransition.class}} ng-scope" data-ng-animate="1">
vendor.js:5:15946

Have you tried implementing SSL?

oxarbitrage commented 6 years ago

never tried ssl with the explorer. it maybe requires some additional work, not sure.

oxarbitrage commented 4 years ago

old and probably fixed as open explorer haves ssl with certbot since a while: https://open-explorer.io/#/dashboard