Skip to content

Commit 89dbb9d

Browse files
committed
Require node use SSL if Panel is using SSL. closes pterodactyl#806
1 parent e4feee6 commit 89dbb9d

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
1818
* Revoking the administrative status for an admin will revoke all authentication tokens currently assigned to their account.
1919
* Updated core framework to Laravel 5.5. This includes many dependency updates.
2020
* Certain AWS specific environment keys were changed, this should have minimal impact on users unless you specifically enabled AWS specific features. The renames are: `AWS_KEY -> AWS_ACCESS_KEY_ID`, `AWS_SECRET -> AWS_SECRET_ACCESS_KEY`, `AWS_REGION -> AWS_DEFAULT_REGION`
21+
* API keys have been changed to only use a single public key passed in a bearer token. All existing keys can continue being used, however only the first 32 characters should be sent.
2122

2223
### Added
2324
* Added star indicators to user listing in Admin CP to indicate users who are set as a root admin.
24-
25-
### Changed
26-
* API keys have been changed to only use a single public key passed in a bearer token. All existing keys can continue being used, however only the first 32 characters should be sent.
25+
* Creating a new node will now requires a SSL connection if the Panel is configured to use SSL as well.
2726

2827
## v0.7.0-beta.2 (Derelict Dermodactylus)
2928
### Fixed

resources/themes/pterodactyl/admin/nodes/new.blade.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,15 @@
7272
<label for="pSSLTrue"> Use SSL Connection</label>
7373
</div>
7474
<div class="radio radio-danger radio-inline">
75-
<input type="radio" id="pSSLFalse" value="http" name="scheme">
75+
<input type="radio" id="pSSLFalse" value="http" name="scheme" @if(request()->isSecure()) disabled @endif>
7676
<label for="pSSLFalse"> Use HTTP Connection</label>
7777
</div>
7878
</div>
79-
<p class="text-muted small">In most cases you should select to use a SSL connection. If using an IP Address or you do not wish to use SSL at all, select a HTTP connection.</p>
79+
@if(request()->isSecure())
80+
<p class="text-danger small">Your Panel is currently configured to use a secure connection. In order for browsers to connect to your node it <strong>must</strong> use a SSL connection.</p>
81+
@else
82+
<p class="text-muted small">In most cases you should select to use a SSL connection. If using an IP Address or you do not wish to use SSL at all, select a HTTP connection.</p>
83+
@endif
8084
</div>
8185
<div class="form-group">
8286
<label class="form-label">Behind Proxy</label>

0 commit comments

Comments
 (0)