Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMP server fails to get HTTPS credentials, XFTP fine #1373

Open
ruckel opened this issue Oct 21, 2024 · 0 comments
Open

SMP server fails to get HTTPS credentials, XFTP fine #1373

ruckel opened this issue Oct 21, 2024 · 0 comments

Comments

@ruckel
Copy link

ruckel commented Oct 21, 2024

The script I'm running results in the XFTP server getting up and running, but the SMP server fails with the error: no HTTPS credentials: /etc/opt/simplex/web.crt, /etc/opt/simplex/web.key

OS: NixOS

$ openssl version
OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024)
smpdomain=smp.xyz.xy
xftpdomain=xftp.xyz.xy

smprun() {
sudo certbot certonly --standalone -d $smpdomain --key-type rsa --rsa-key-size 4096
docker run \
-e "ADDR=${smpdomain}" \
-p 5223:5223 \
-v $HOME/simplex/smp/config:/etc/opt/simplex:z \
-v $HOME/simplex/smp/logs:/var/opt/simplex:z \
simplexchat/smp-server:latest
}

xftprun(){
sudo certbot certonly --standalone -d $xftpdomain --key-type rsa --rsa-key-size 4096
docker run \
-e "ADDR=${xftpdomain}" \
-e "QUOTA=20gb" \
-p 444:444 \
-v $HOME/simplex/xftp/config:/etc/opt/simplex-xftp:z \
-v $HOME/simplex/xftp/logs:/var/opt/simplex-xftp:z \
-v $HOME/simplex/xftp/files:/srv/xftp:z \
simplexchat/xftp-server:latest
}

smprun & 
xftprun

Any pointers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant