@ne1410s/acme2
TypeScript icon, indicating that this package has built-in type declarations

0.1.114 • Public • Published

ne14.acme2

ES ACME v2 Wrapper

Local development

  • Add the environment variables as below
  • Run some (fairly usual!) scripts:
    • npm run build
    • npm run start
  • Visit http://localhost:8081/ in your browser
  • (npm run clean will wipe any local db - including your test data!)
  • For test accounts, the call to ACME2's "get orders" url seems to fail with a 405 - Method not allowed
    • (The live accounts are fine tho!)

AWS hosting

Zip up the following:

  • /.ebextensions/
  • /dist/
  • /ui/
  • /.npmrc
  • /package.json

NB - Environment Variables, and (non-production, demo-only) values

  • acme::jwt ->
  • acme::recaptcha -> ???
  • acme::recaptcha::public -> ???
  • acme::svchost -> http://localhost:8081

Installing your Certificate

  • IIS: Import the pfx
  • AWS (Single Instance EBS):
  • Include the /.ebextensions/ folder in the deployment
  • Populate certificates in /https-instance.config (keep the 6-space indentation for each)
  • Be sure not to commit changes to VCS!
  • AWS (Load Balanced ELB):
  • In AWS Certificate Manager, import cert and paste the various parts in PEM format
  • In EBS, modify your network configuration accordingly

Readme

Keywords

Package Sidebar

Install

npm i @ne1410s/acme2

Weekly Downloads

0

Version

0.1.114

License

MIT

Unpacked Size

270 kB

Total Files

120

Last publish

Collaborators

  • ne1410s