summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-27Embed issuer certificate in binaryAndrew Cady
This permits the program to be run from outside the source directory.
2016-01-27clean up http-served files after challenges completeAndrew Cady
2016-01-26bump stack resolver to lts-5.0Andrew Cady
2016-01-26Improve documentationAndrew Cady
2016-01-26Pre-generate DH paramsAndrew Cady
The program now outputs a combined PEM certificate. A new option allows DH-param generation to be disabled.
2016-01-26use Control.ErrorAndrew Cady
2016-01-25generate DH params; use PEM for final outputAndrew Cady
this needs to be made optional and the DH params should be cached, because generating them is very slow.
2016-01-25move genReq into the libraryAndrew Cady
2016-01-25Change API of "certify"Andrew Cady
It now expects a callback to provision the challenge responses. This needs to be improved so that it will also do cleanup.
2016-01-24update documentationAndrew Cady
2016-01-24poll for challenge results before getting certificateAndrew Cady
2016-01-24fix warningsAndrew Cady
2016-01-24Oops; don't use "show" with DomainName typeAndrew Cady
2016-01-24Don't save CSR to disk; cleanupAndrew Cady
2016-01-24use BasePreludeAndrew Cady
2016-01-24split out another moduleAndrew Cady
2016-01-24rename module & files; remove unused depsAndrew Cady
2016-01-24Function 'certify' now returns certificate dataAndrew Cady
(previously it saved to a file)
2016-01-24validate domain namesAndrew Cady
2016-01-24validate URIsAndrew Cady
2016-01-24Validate email addressAndrew Cady
2016-01-24Remove unused imports, extensions, & definitionsAndrew Cady
2016-01-23change package name to "acme-certify"Andrew Cady
2016-01-23add support for multi-domain (subjectAltName) certificatesAndrew Cady
2016-01-22Use subjectAltName X509v3 extensionAndrew Cady
2016-01-22use HsOpenSSL version that actually worksAndrew Cady
2016-01-22move key reading function into exported libraryAndrew Cady
2016-01-22Factored out Network.ACME libraryAndrew Cady
2016-01-22Avoid calling "openssl req" external processAndrew Cady
This required patching HsOpenSSL. stack.yaml has been updated to pull the patched version from github. stack.yaml was also updated to lts-4.2.
2016-01-21helper function to replace "flip unless" uglinessAndrew Cady
2016-01-21Fail earlierAndrew Cady
Checks that the output dirs are writable and that writing to the challenge dir results in a file hosted at the proper URL. I once had a linksys router that would forward incoming TCP connections to a machine on my LAN, but would not route connections from that machine to itself over the public IP. This check would break on such a configuration; I suppose it might be made optional.
2016-01-21add option --domain-dirAndrew Cady
also renamed --dir to --challenge-dir
2016-01-21update documentation to reflect new codeAndrew Cady
2016-01-21Generate RSA keys and CSRs using HsOpenSSLAndrew Cady
Unfortunately, an external process is still needed to convert x509 CSRs from PEM to DER.
2016-01-21It _does_ work!Andrew Cady
The fix was: don't repeat the request after seeing "pending." Turns out the cert was actually being issued. Besides that, a "--staging" option was added to allow testing against Let's Encrypt staging servers. This is necessary for success because I am now rate-limited! Error reporting is improved and code is cleaned up somewhat.
2016-01-20whitespaceAndrew Cady
2016-01-20More debug loggingAndrew Cady
I have no idea why it doesn't work. "Let's Encrypt" servers hit my server. The file hosted on my server matches the value in the "keyAuthorization" field I get back from them. What is wrong?? Maybe it's not the code, but something related to my domain?
2016-01-20minor fix: type sig unifies two functionsAndrew Cady
2016-01-20last step doesn't work...Andrew Cady
2016-01-20Report HTTP statusAndrew Cady
2016-01-20Use a Wreq session.Andrew Cady
Configure Wreq not to throw exceptions for non-200 status codes.
2016-01-20Use a monad to track nonce values between requestsAndrew Cady
(Partially implemented.)
2016-01-20Minor code reorgAndrew Cady
"register" function was tested in ghci.
2016-01-20remove 'writeBody'; minor cleanupsAndrew Cady
2016-01-20Remove unused functionsAndrew Cady
(Related to calling external openssl process.)
2016-01-20Generate signatures without external callsAndrew Cady
2016-01-20Generate the private key with specified filenameAndrew Cady
(Won't generate if file exists.)
2016-01-20Command line options replace hard-coded valuesAndrew Cady
2016-01-20Fetch directory urls along with nonceAndrew Cady
2016-01-20Fetch nonce instead of hard-coding itAndrew Cady