Skip to main content

Certificate Authority web service client

Project description

Provides the client interface for an online Certificate Authority web-service. This package works with the ContrailOnlineCAService the server-side implementation also available from PyPI.

Web service calls can be made to request a certificate. The web service interface is RESTful using GET and POST operations. To request a certificate, a Certificate Signing Request is sent as a field with a HTTP POST call. The service should be hosted over HTTPS. The client authenticates using HTTP Basic Auth or SSL client authentication. In the first case, username and password are sent. For the latter, at least a username should be set as this needed to configure the subject name of the certificate requested. If authentication succeeds, an X.509 certificate is returned.

As well as a Python client, an implementation is included as shell scripts. These require only openssl and wget or curl which are typically available on Linux/UNIX based systems.

The code has been developed for the EU Contrail Project.

Prerequisites

This has been developed and tested for Python 2.7 and Python 3.6.

Installation

Installation can be performed using pip.

Configuration

Examples are contained in onlineca.client.test.

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ContrailOnlineCAClient-0.5.0-py2-none-any.whl (167.1 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 19, 2018
ContrailOnlineCAClient-0.5.0-py3-none-any.whl (167.1 kB) Copy SHA256 hash SHA256 Wheel 3.6 Jan 19, 2018
ContrailOnlineCAClient-0.5.0.tar.gz (24.5 kB) Copy SHA256 hash SHA256 Source None Jan 19, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page