Simple certificate generator
Project description
Simple Roaming Certificate
This package contains the functions for creating all the certificates, keys etc. for Govroam, or eduroam. The certificates are specifically designed to work well with eduroam/Govroam and include all the features required to ensure that as many clients as possible are compatible.
It's based heavily on the python cryptography module.
Usage
from simple_roaming_certificate import gencerts
csrsubject, cacert, cakey_enc, csrkey_enc, servercert, crlcert = gencerts(c,st,l,o,ou,cn,crldp,passphrase,bits)
The following certificate are available for generation:
RootCA
To be installed on the client, as a trusted Root Certificate. If using the CAT, upload this when creating a profile and set the "Name (CN) of Authentication Server" to idp.westeros.zz. It can be pushed out to clients via a policy, or downloaded in 'mobileconfig' files or published on a web site
Server Cert
To be installed on the RADIUS IdP. Put this, along with the Server Key below, on to your RADIUS server and configure as part of the EAP security. Do not install the above Root CA on the server.
Server Key
To be installed on the RADIUS IdP, as above.
CRL
Publish at the URL https://<cn>/list.crl
. It should be accessible by all clients. Whilst not necessary for clients to authenticate it reduces the risk of some clients rejecting the authentication.
RootCA Key
To be kept safe, along with the password used, and is required for any future server certificates, or to change the CRL
Notes
You can check the certificates by running:
openssl x509 -noout -text -in <certname>
which will work for rootca.pem and server-cert.pem
openssl rsa -in <keyname> -check
which will work for server-key.pem and root-key.pem
openssl crl -noout -text -in <crlfile>
which will work for list.crl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for simple-roaming-certificate-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7cfe672092a60323be84c50a1a9dd3d9032f39d2238ed68a135bedf54310034 |
|
MD5 | dbbf5905aa16125f903e12a8e121f34c |
|
BLAKE2b-256 | 57d3842746935c85c96b3c9de6ff05a9d98675b52bb8f411db30b1474b969e76 |