Skip to content

Commit 7572b08

Browse files
authored
Merge pull request #1 from sahilph/update-root-ca
Update Root CA Path and fix spelling errors
2 parents df72e69 + b17e2b4 commit 7572b08

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

umbrel-HTTPSizer/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ app.use('/', indexRouter);
2929
app.use('/first-run', firstRunRouter);
3030
app.use('/https-error', httpsErrorRouter);
3131

32-
app.get('/ssl.cert', function(req, res){
33-
res.download(CONSTANTS.HTTPS_CERT_PATH); // Set disposition and send it.
32+
app.get('/root-ca.crt', function(req, res){
33+
res.download(CONSTANTS.HTTPS_ROOT_CA_CERT_PATH); // Set disposition and send it.
3434
});
3535

3636
// catch 404 and forward to error handler

umbrel-HTTPSizer/utils/const.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ module.exports = Object.freeze({
2121

2222
APP_DATA_PATH: process.env.APP_DATA_PATH || "/app-data",
2323

24-
HTTPS_CERT_PATH: readFromFsOrTerminate(process.env.HTTPS_CERT_PATH || "/ssl/ssl.cert"),
24+
HTTPS_ROOT_CA_CERT_PATH: readFromFsOrTerminate(process.env.HTTPS_ROOT_CA_CERT_PATH || "/ssl/root-ca.crt"),
2525

2626
});

umbrel-HTTPSizer/views/firstRun.ejs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@
4343

4444
<ul class="alt">
4545
<li>
46-
<h3>1. Download CA Certificate</h3>
47-
<p>You now have a CA certificate which Ubmrel will use to encrypt the traffic.
46+
<h3>1. Download Root CA Certificate</h3>
47+
<p>You now have a Root CA certificate which Umbrel will use, for signing it SSL certificate and then in-turn to encrypt the traffic.
4848
Download it using the button below:
4949
</p>
50-
<a href="/ssl.cert" class="button"><i class="fa-solid fa-lock" style="color: #74C0FC;"></i> Download CA Cert</a>
50+
<a href="/root-ca.crt" class="button"><i class="fa-solid fa-lock" style="color: #74C0FC;"></i> Download Root CA Cert</a>
5151
</li>
5252
<li>
53-
<h3>2. Trust CA Certificate</h3>
54-
<p>When you trust the CA certificate, you can verify the autheticity of the traffic coming from your Umbrel.</p>
53+
<h3>2. Trust Root CA Certificate</h3>
54+
<p>When you trust the Root CA certificate, you can verify the authenticity of the traffic coming from your Umbrel.</p>
5555
<p>Follow the instructions for your OS/Browser from the link below and then come back to this page: </p>
5656
<a href="https://github.com/sahilph/umbrel-HTTPSizer/wiki" target="_blank" class="button primary"><i class="fa-solid fa-share"></i> View Instructions</a>
5757
</li>

umbrel-HTTPSizer/views/httpsError.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
<ul class="actions">
5050
<li><a href="//<%= hostname_wo_port %>/settings?dialog=restart" target="_blank" class="button"><i class="fa-solid fa-arrows-rotate" style="color: #790a0a;"></i> Restart Umbrel</a></li>
5151
<li><a href="https://<%= hostname %>/" class="button"><i class="fa-solid fa-house"> </i> Go to Home Page</a></li>
52+
<li><a href="/first-run?redirectHome=false" class="button"><i class="fa-solid fa-display"></i> Re-show First Run Page</a></li>
5253
</ul>
5354

5455
</div>

umbrel-HTTPSizer/views/index.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
Umbrel on HTTPS for your local network.
4949
</p>
5050
<ul class="actions">
51-
<li><a href="/ssl.cert" class="button"><i class="fa-solid fa-lock" style="color: #74C0FC;"></i> Download CA Cert</a></li>
51+
<li><a href="/root-ca.crt" class="button"><i class="fa-solid fa-lock" style="color: #74C0FC;"></i> Download Root CA Cert</a></li>
5252
<li><a href="/first-run?redirectHome=false" class="button"><i class="fa-solid fa-display"></i> Re-show First Run Page</a></li>
5353
</ul>
5454

@@ -65,7 +65,7 @@
6565
<ol class="alt" style="text-align: left;">
6666
<li>
6767
<h3>How to I go back to the original HTTP version ?</h3>
68-
<p>Thats easy! Just uninstall this app and it will restore all the original settings.</p>
68+
<p>The instructions for this are available at the wiki: <a href="https://github.com/sahilph/umbrel-HTTPSizer/wiki">https://github.com/sahilph/umbrel-HTTPSizer/wiki</a></p>
6969
</li>
7070
<li>
7171
<h3>Where can I report any issues</h3>

0 commit comments

Comments
 (0)