Skip to main content

Python module for the DFN-PKI soap API

Project description

DFN-PKI-Client

Example

#!/usr/bin/env python

from dfn_pki_client.public_service import PublicServicePKI
from dfn_pki_client.registration_service import RegistrationService
from dfn_pki_client.utils import get_wsdl


def main():

    pki = PublicServicePKI('config.ini')

    ca_info = pki.get_ca_info(42)

    print(ca_info)


if __name__ == '__main__':
    main()

Installation

Linux (e.g. Ubuntu)

apt install openssl rustc
pip3 install cryptography pyopenssl suds-community urllib3

macOS

brew install openssl swig rustup
pip3 install cryptography pyopenssl suds-community urllib3

Windows (untested)

pip3 install cryptography pyopenssl suds-community urllib3

Setup

Create the configuration file config.ini

[default]
cert = file_name.p12
password = 0123456789
public_wsdl = https://pki.pca.dfn.de/<ca_name>/cgi-bin/pub/soap?wsdl=1
registration_wsdl = https://ra.pca.dfn.de/<ca_name>/cgi-bin/ra/soap?wsdl=1
domain_wsdl = https://ra.pca.dfn.de/<ca_name>/cgi-bin/ra/soap/DFNCERT/Domains?wsdl=1'

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

DFN-PKI-Client-0.1.4.3.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

DFN_PKI_Client-0.1.4.3-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file DFN-PKI-Client-0.1.4.3.tar.gz.

File metadata

  • Download URL: DFN-PKI-Client-0.1.4.3.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/4.19.128-microsoft-standard

File hashes

Hashes for DFN-PKI-Client-0.1.4.3.tar.gz
Algorithm Hash digest
SHA256 4f9694a11d7fc7ce2c795fd9e7da49e2a23c3bf3aaf393607b5b40777f790820
MD5 1cf4a11c8c155e60a5fce984bbf79970
BLAKE2b-256 53b3c4a5286c29f617d591442e03e4da0a2d304c9b325ef78a3c8289b85ab082

See more details on using hashes here.

File details

Details for the file DFN_PKI_Client-0.1.4.3-py3-none-any.whl.

File metadata

  • Download URL: DFN_PKI_Client-0.1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.5 Linux/4.19.128-microsoft-standard

File hashes

Hashes for DFN_PKI_Client-0.1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d1de6894df2d1933204e84356b13b44923b4f0ce5187f8c03a4244003ad5efcf
MD5 32bedc5cda8d32716682f84183293df5
BLAKE2b-256 8b9729d6b9c7b3d3597800eb8bb2020bb5e761cf2b6885795271b46cd0046913

See more details on using hashes here.

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