diff options
author | Andrew Cady <d@jerkface.net> | 2016-01-27 07:27:59 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-01-27 07:27:59 -0500 |
commit | 552e6d79204cb6439c86ade4c1bf9bc785e47535 (patch) | |
tree | 56ab37fc1ab02c9687e7fe1a4c86cd2efa216c1b /src/Network/ACME/Issuer.hs | |
parent | eaaebe924ba1cebc40a160a28f3779fd08c2181b (diff) |
Embed issuer certificate in binary
This permits the program to be run from outside the source directory.
Diffstat (limited to 'src/Network/ACME/Issuer.hs')
-rw-r--r-- | src/Network/ACME/Issuer.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Network/ACME/Issuer.hs b/src/Network/ACME/Issuer.hs new file mode 100644 index 0000000..451aa14 --- /dev/null +++ b/src/Network/ACME/Issuer.hs | |||
@@ -0,0 +1,9 @@ | |||
1 | {-# LANGUAGE TemplateHaskell #-} | ||
2 | |||
3 | module Network.ACME.Issuer where | ||
4 | |||
5 | import Data.ByteString.Char8 | ||
6 | import Data.FileEmbed | ||
7 | |||
8 | letsEncryptX1CrossSigned :: String | ||
9 | letsEncryptX1CrossSigned = unpack $(embedFile "lets-encrypt-x1-cross-signed.pem") | ||