mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-12-21 05:34:37 -05:00
8 lines
279 B
Plaintext
8 lines
279 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
cd /config/keys/letsencrypt || exit 1
|
|
openssl pkcs12 -export -out privkey.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -passout pass:
|
|
sleep 1
|
|
cat {privkey,fullchain}.pem >priv-fullchain-bundle.pem
|
|
chown -R abc:abc /config/etc/letsencrypt
|