Skip to content

Commit c2e4fd3

Browse files
authored
Merge pull request #30 from Lupancham/main
Add SSL Tutorial
2 parents dfda68a + ed5fd19 commit c2e4fd3

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

content/docs/elytra/installation.mdx

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ known working and officially supported though.
2626
- tar
2727
- docker
2828
- [rustic](https://github.com/rustic-rs/rustic/releases/latest)
29+
- [certbot](https://github.com/certbot/certbot) (Optional if using SSL)
2930

3031

3132
### Installing Prequisites
@@ -152,6 +153,71 @@ The quickest way is to use the pre-built binaries.
152153
</Tab>
153154
</Tabs>
154155

156+
### Creating SSL Certificates
157+
<Callout type='error'>
158+
Using SSL is not required to run Elytra, but if you checked ``Use SSL Connection`` when adding the node to your panel, you will need to do this step to enable SSL.
159+
It is recommended that you do this step to ensure connection security between the panel and the node.
160+
</Callout>
161+
162+
Before continuing to create an SSL certificate, ensure that you have created an A Record for the FDQN you wish to use for the node, pointed to the IP of the machine on which the node will be running.
163+
164+
<Tabs items={["Fedora", "Ubuntu", "Debian", "Rocky", "RHEL", "Arch"]}>
165+
<Tab value="Fedora">
166+
```bash
167+
sudo dnf update -y
168+
sudo dnf install certbot -y
169+
170+
# Obtain a certificate (Replace 'node.pyrodactyl.dev' with your own FDQN)
171+
sudo certbot certonly --standalone -d node.pyrodactyl.dev
172+
```
173+
</Tab>
174+
<Tab value="Ubuntu">
175+
```bash
176+
sudo apt update
177+
sudo apt install certbot -y
178+
179+
# Obtain a certificate (Replace 'node.pyrodactyl.dev' with your own FDQN)
180+
sudo certbot certonly --standalone -d node.pyrodactyl.dev
181+
```
182+
</Tab>
183+
<Tab value="Debian">
184+
```bash
185+
sudo apt update
186+
sudo apt install certbot -y
187+
188+
# Obtain a certificate (Replace 'node.pyrodactyl.dev' with your own FDQN)
189+
sudo certbot certonly --standalone -d node.pyrodactyl.dev
190+
```
191+
</Tab>
192+
<Tab value="Rocky">
193+
```bash
194+
sudo dnf install epel-release -y
195+
sudo dnf install certbot -y
196+
197+
# Obtain a certificate (Replace 'node.pyrodactyl.dev' with your own FDQN)
198+
sudo certbot certonly --standalone -d node.pyrodactyl.dev
199+
```
200+
</Tab>
201+
<Tab value="RHEL">
202+
```bash
203+
sudo dnf install epel-release -y
204+
sudo dnf install certbot -y
205+
206+
# Obtain a certificate (Replace 'node.pyrodactyl.dev' with your own FDQN)
207+
sudo certbot certonly --standalone -d node.pyrodactyl.dev
208+
```
209+
</Tab>
210+
<Tab value="Arch">
211+
```bash
212+
sudo pacman -Syu
213+
sudo pacman -S certbot
214+
215+
# Obtain a certificate (Replace 'node.pyrodactyl.dev' with your own FDQN)
216+
sudo certbot certonly --standalone -d node.pyrodactyl.dev
217+
```
218+
</Tab>
219+
</Tabs>
220+
155221

156222

157223
### Setting up Systemd Task for Elytra

0 commit comments

Comments
 (0)