aboutsummaryrefslogtreecommitdiff
path: root/Deployment.md
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-12-11 19:34:14 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-12-11 19:34:14 +0000
commit436e3e932a732c0133c24ade9be31513bc037656 (patch)
treeff7edae9597ab24d4f2b09f7ce049827f70ca5e6 /Deployment.md
parent048c435b2c937558edf77393f2eee28f994c2d99 (diff)
downloadspacebeans-436e3e932a732c0133c24ade9be31513bc037656.tar.gz
spacebeans-436e3e932a732c0133c24ade9be31513bc037656.zip
Typo, better order
Diffstat (limited to 'Deployment.md')
-rw-r--r--Deployment.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/Deployment.md b/Deployment.md
index 5985477..4f3aea9 100644
--- a/Deployment.md
+++ b/Deployment.md
@@ -34,7 +34,10 @@ cd /opt/spacebeans
wget URL/spacebeans-VERSION.jar
```
-3. Create a certificate (optional, only if you don't have one already):
+3. Create a certificate (optional, only if you don't have one already).
+
+When entering the certificate details, use the domain name as `CN`.
+
```
cd /opt/spacebeans
keytool -genkey -keyalg RSA -alias ALIAS -keystore keystore.jks -storepass SECRET -noprompt -validity 36500 -keysize 2048
@@ -42,12 +45,10 @@ chown spacebeans:spacebeans keystore.jks
chmod 0400 keystore.jks
```
-When entering the certificate details, use the domain name as `CN`.
-
In the configuration file provide the path to the keystore, the alias and the
secret used when generating the certificate.
-4. Prepare your `spacebeaans.conf` file.
+4. Prepare your `spacebeans.conf` file.
Put it in `/opt/spacebeans/`, with at least one virtual host.