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.3.tar.gz
(20.1 kB
view details)
Built Distribution
File details
Details for the file DFN-PKI-Client-0.1.3.tar.gz
.
File metadata
- Download URL: DFN-PKI-Client-0.1.3.tar.gz
- Upload date:
- Size: 20.1 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 | d64d5e703f81ac5a304e1423d6d68a97928c863f63e3feb8d42857edd21cf486 |
|
MD5 | 83c954e9ca03561dd74319d03e5b79d1 |
|
BLAKE2b-256 | 2b622b1f68a937989fc6a34fff3b7794c9043e8ee241ad6a8b7aed5ec5b9a426 |
File details
Details for the file DFN_PKI_Client-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: DFN_PKI_Client-0.1.3-py3-none-any.whl
- Upload date:
- Size: 23.8 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 | 54325cc239644b49f2fe3970680a586c4f38d3ee80e1945abbd0da01eff3c7d0 |
|
MD5 | 4efeff3e0cd35feaedcc49f81aa0ce8e |
|
BLAKE2b-256 | 06a373eee060f66175a3bd3f49744a87c0c53f14899d307e7084a7eca3b23370 |