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.2.tar.gz
(14.4 kB
view details)
Built Distribution
File details
Details for the file DFN-PKI-Client-0.1.2.tar.gz
.
File metadata
- Download URL: DFN-PKI-Client-0.1.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4231749d27c13c2cb5ce3ab3af78c07ce2392c38a1a11fa196ef44335f5cfef5 |
|
MD5 | 7dbfd6b6eb9cb8c24c9c25afaebee708 |
|
BLAKE2b-256 | 687d682e750a15351a1853652804e522d9d003151614b8cb391e486fd7497f3f |
File details
Details for the file DFN_PKI_Client-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: DFN_PKI_Client-0.1.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e7998edebc8c2098a48125b6e9068cfde43f594f54543698dcd2686ee049114 |
|
MD5 | 593d3629e31a26e555a12b7ed3f4f0e6 |
|
BLAKE2b-256 | 91e11efee830b85d8bd4873db4caca54164e0d8dfd1ddcd466f7e5820fc0ce9f |