summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-01-27 07:27:59 -0500
committerAndrew Cady <d@jerkface.net>2016-01-27 07:27:59 -0500
commit552e6d79204cb6439c86ade4c1bf9bc785e47535 (patch)
tree56ab37fc1ab02c9687e7fe1a4c86cd2efa216c1b /src
parenteaaebe924ba1cebc40a160a28f3779fd08c2181b (diff)
Embed issuer certificate in binary
This permits the program to be run from outside the source directory.
Diffstat (limited to 'src')
-rw-r--r--src/Network/ACME/Issuer.hs9
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
3module Network.ACME.Issuer where
4
5import Data.ByteString.Char8
6import Data.FileEmbed
7
8letsEncryptX1CrossSigned :: String
9letsEncryptX1CrossSigned = unpack $(embedFile "lets-encrypt-x1-cross-signed.pem")