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 Contrail Project, http://contrail-project.eu/
Prerequisites
This has been developed and tested for Python 2.7 and Python 3.5.
Installation
Installation can be performed using pip.
Configuration
Examples are contained in onlineca.client.test.
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
Built Distributions
File details
Details for the file ContrailOnlineCAClient-0.4.1.tar.gz
.
File metadata
- Download URL: ContrailOnlineCAClient-0.4.1.tar.gz
- Upload date:
- Size: 91.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c62f7ba4bff687a6ab37d17a60989636dfa60a59a721017b07dd4e356a9cead |
|
MD5 | 2d5d4bdc5419a848c7ba24933b3bc0fe |
|
BLAKE2b-256 | 96099decf130b90daf1727654519f4fdd36e08e41d7f13e95828da5f0665f0b5 |
File details
Details for the file ContrailOnlineCAClient-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: ContrailOnlineCAClient-0.4.1-py3-none-any.whl
- Upload date:
- Size: 163.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8bc422da4bde9cc5ac93d8c5e56cda16845d5b85e985e317fe5128123fa213b |
|
MD5 | deca588bb1661c3eb4a2430beaff7b81 |
|
BLAKE2b-256 | 17f69ecff5c8ea82a2974b76d3093a3862a825d0a6b63bcf6bf61f1f0d94c2ec |
File details
Details for the file ContrailOnlineCAClient-0.4.1-py2-none-any.whl
.
File metadata
- Download URL: ContrailOnlineCAClient-0.4.1-py2-none-any.whl
- Upload date:
- Size: 163.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0297072104ed977e77a80fc2937aa3b6ffa3148b983947210079fa92ba1e9558 |
|
MD5 | 0de0f8086cd837ef9313ab3e41d0494b |
|
BLAKE2b-256 | 5db9ef7f5d065d74e403f10605d229047a14cbbeba4a4a8b1121871f49b7f183 |