Skip to main content

Python module for the DFN-PKI soap API

Project description

DFN-PKI-Client

Example

#!/usr/bin/env python

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


def main():

    pki = PublicServicePKI('config.ini')

    ca_info = p.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 thr 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.1.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

DFN_PKI_Client-0.1.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: DFN-PKI-Client-0.1.1.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/20.3.0

File hashes

Hashes for DFN-PKI-Client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6feb1a62aea6844aec6ae68859441d80dd4c0f21387d0e4bfbe4e40c58198792
MD5 98df34cebc10eb120e8fe5b334d1e384
BLAKE2b-256 2ed69fb97e350f202fd03ceba0509f3519e9b35195bc5925bab6cde585e09b31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: DFN_PKI_Client-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/20.3.0

File hashes

Hashes for DFN_PKI_Client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a826d51e00fb5fd04f7901787ae4a98c48ba97ce8e881b6a96a97ded2cc61391
MD5 e1c0ec9b51d29fbf1003f7c4d0fcf3df
BLAKE2b-256 5336f3e9e2a43fbdeb7b31b37a18ea2a4911a3dc76adf9cf23b0770801913aea

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