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
Release history Release notifications | RSS feed
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.tar.gz
(23.3 kB
view details)
Built Distribution
File details
Details for the file DFN-PKI-Client-0.1.4.tar.gz
.
File metadata
- Download URL: DFN-PKI-Client-0.1.4.tar.gz
- Upload date:
- Size: 23.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c07d190f45757ee40d9107ec1ee58488b00ba61cedbd3feb16a742a5a81a800 |
|
MD5 | ed48658093a43dcd02221ee80b0df54f |
|
BLAKE2b-256 | 61b977441578d1034efaa4d6cece61e4d344055d739a60f02d5fd2b1220c696c |
File details
Details for the file DFN_PKI_Client-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: DFN_PKI_Client-0.1.4-py3-none-any.whl
- Upload date:
- Size: 28.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e79f2d8d8d637b798d4300660abd8385f068ebe19ba39be819c4f58f968117f5 |
|
MD5 | 001aed6a3ea66b42b48257f8bafb5d96 |
|
BLAKE2b-256 | 3a4911c67a6ce8673af4e51200b9789d19c2545d5227b4c8e59a1d721b90c19d |