Skip to content

reznikmm/acme-ada

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

.reuse
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 \
 -keyout /tmp/priv.key -out /dev/null -subj ""
grep -v ^- /tmp/priv.key | base64 -d > /tmp/priv.dat

openssl rsa -pubout -in /tmp/priv.key -outform DER -out /tmp/pub.dat

openssl req -nodes -newkey rsa:2048 -keyout /tmp/domain.key \
 -out /tmp/cert.csr -subj "/C=UA/CN=example.com"
grep -v "CERTIFICATE REQUEST" /tmp/cert.csr | base64 --decode > /tmp/csr.dat
  • Run the example
.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

About

ACME implementation in Ada

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant