项目作者: reznikmm

项目描述 :
ACME implementation in Ada
高级语言: Ada
项目地址: git://github.com/reznikmm/acme-ada.git
创建时间: 2020-06-20T16:36:41Z
项目社区:https://github.com/reznikmm/acme-ada

开源协议:

下载


ACME implementation in Ada

This is an
Automatic Certificate Management Environment
client in Ada.

Install

Unpack sources and run make.

Dependencies

It depends on

Usage

To run the example:

  • Generate account key pairs and Certificate Signing Request (CSR) using
    openssl:
  1. openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 \
  2. -keyout /tmp/priv.key -out /dev/null -subj ""
  3. grep -v ^- /tmp/priv.key | base64 -d > /tmp/priv.dat
  4. openssl rsa -pubout -in /tmp/priv.key -outform DER -out /tmp/pub.dat
  5. openssl req -nodes -newkey rsa:2048 -keyout /tmp/domain.key \
  6. -out /tmp/cert.csr -subj "/C=UA/CN=example.com"
  7. grep -v "CERTIFICATE REQUEST" /tmp/cert.csr | base64 --decode > /tmp/csr.dat
  • Run the example
  1. .objs/hello_world/hello_world_run example.com
  • If everything works fine, then you will get the certificate chain in
    the output. The private key for the web server is in /tmp/domain.key.

Maintainer

@MaximReznik.

Contribute

Feel free to dive in!
Open an issue
or submit PRs.

License

MIT © Maxim Reznik