Erlang port of mixlib-authentication for use with Chef
Erlang
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
LICENSE
Makefile
README.org
rebar
rebar.config

README.org

Chef HTTP request authentication and verification in Erlang

chef_authn is an Erlang port of the mixlib-authentication gem used for generating and verifying authentication HTTP headers for use with Chef.

Making RSA keys with openssl

openssl genrsa -out akey.pem 1024
openssl rsa -in akey.pem -pubout > akey_public.pem

And this is how to generate a certificate given an existing RSA private key:

openssl req \
 -x509 -nodes -days 365 \
 -key private_key -keyform pem -new -keyout mycert.pem -out mycert.pem