#!/bin/bash
certs="/etc/letsencrypt/live/myersnet.net"
openssl smime \
-sign \
-signer ${certs}/cert.pem \
-inkey ${certs}/privkey.pem \
-certfile ${certs}/chain.pem \
-nodetach \
-outform der \
-in user.mobileconfig \
-out user-signed.mobileconfig
-
-
Save erickochen/38f9e6d823a282d6c2a483b0228dc8e3 to your computer and use it in GitHub Desktop.
Sign mobileconfig files with Letsencrypt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment