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.

Source Distribution

ContrailOnlineCAClient-0.5.1.tar.gz (123.9 kB view hashes)

Uploaded Source

Built Distribution

ContrailOnlineCAClient-0.5.1-py3-none-any.whl (197.7 kB view hashes)

Uploaded Python 3

Supported by

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