Comments (3)
You can easily get the needed ssl cert for free by using letsencrypt.org. I have my own server as well and have been using them for years. Check it out!
Also, if you don't have a way to setup a webserver for the verification (like, no access to port 80 from outside, as some ISPs will insist on), there are other methods of verification:
https://letsencrypt.org/docs/client-options/
I use the DNS method and it works fine.
from loop.
Just remember that you will need to renew the cert every 3 months unless you setup a mechanism to have it auto-renew. Has any out there tried using a self-signed cert?
from loop.
I would strongly discourage the use of self-signed certs. It is not easy to install them on a iPhone, and when you switch you have to do it all over again.
You could use something like Traefik to auto-renew your cert via letsencrypt. Here is an docker-compose example:
version: "3.8"
x-logging:
&default-logging
options:
max-size: '10m'
max-file: '5'
driver: json-file
services:
mongo:
image: mongo:4.4
container_name: mongo
volumes:
- /mnt/volume_ams3_02/mongo:/data/db:cached
logging: *default-logging
nightscout:
image: nightscout/cgm-remote-monitor:latest
container_name: nightscout
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.nightscout.rule=Host(`nightscout.<YOUR_DOMAIN>`)'
- 'traefik.http.routers.nightscout.entrypoints=websecure'
- 'traefik.http.routers.nightscout.tls.certresolver=le'
restart: always
depends_on:
- mongo
logging: *default-logging
traefik:
image: traefik:latest
container_name: 'traefik'
command:
- '--providers.docker=true'
- '--providers.docker.exposedbydefault=false'
- '--entrypoints.web.address=:80'
- '--entrypoints.web.http.redirections.entrypoint.to=websecure'
- '--entrypoints.websecure.address=:443'
- "--certificatesresolvers.le.acme.httpchallenge=true"
- "--certificatesresolvers.le.acme.httpchallenge.entrypoint=web"
- '--certificatesresolvers.le.acme.storage=/letsencrypt/acme.json'
- '--certificatesresolvers.le.acme.email=<EMAIL>'
ports:
- '443:443'
- '80:80'
volumes:
- './letsencrypt:/letsencrypt'
- '/var/run/docker.sock:/var/run/docker.sock:ro'
logging: *default-logging
from loop.
Related Issues (20)
- Aktive insulin delivery cant be seen on Loop caregiver HOT 2
- Feature Request: Add Glucagon Model to use as non-pump entry
- Issue rebuilding loop - sync upstream changes HOT 3
- Browser Build Issue: the current method to provide automatic sync causes errors HOT 2
- Medtronic State incorrect after Bolus is Cancelled HOT 3
- Total amount of bolus being delivered is incorrect in HUD HOT 6
- Auto bolus is giving a different amount than it shows in the UI HOT 4
- Bug: Incorrect pod suspended message when bolusing after comms error HOT 1
- Rebuild error - Help needed HOT 1
- Automatic insulin delivery on yellow loop HOT 3
- (DISCUSSION) Have there been attempts to connect an Omnipod DASH to an Apple Watch?
- Carbs recorded when Adding a Carb Entry is blocked because a bolus is in progress HOT 5
- Missing trend arrows on Nightscout with Enlite sensors and Medtronic 722 pump
- Pump simulator can not be deleted HOT 2
- Loop app slow to open with iOS 17
- Loop doesn't fully recalculate effects after settings change until app restart HOT 1
- With Dexcom G7 - End of the tolerance time does not fit HOT 5
- Randomly switched glucose units HOT 2
- Dark mode icon in iOS 18
- Loop crashes if an override is dragged to bottom of screen while reordering HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loop.