Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple-roaming-certificate-1.3.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file simple-roaming-certificate-1.3.tar.gz.

File metadata

  • Download URL: simple-roaming-certificate-1.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.33.0 CPython/2.7.5

File hashes

Hashes for simple-roaming-certificate-1.3.tar.gz
Algorithm Hash digest
SHA256 2b279598f878d92f65363a1bed6f3b262bcee2369333bb836e34ffe293f9385b
MD5 2004f3f07759864840dd9a608e185f61
BLAKE2b-256 387cb6ad81342ea7186d5fab5b803c564ccfa559be89dfff4625ddda3513b651

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page