manpki.api.cert¶
manpki.api.cert¶
Certificate part API. Accessible by /v1.0/api/cert url
| copyright: |
|
|---|---|
| license: | BSD, see LICENSE for more details. |
Functions
add_cert() |
Create new certificate |
get_cert_param(param) |
Get certificate parameter |
set_cert() |
Set cert element |
show_cert(certid) |
Show all cert or specific cert information |
where(key) |
Classes
API |
|
CertParameter(*args, **kwargs) |
|
Profile(*args, **kwargs) |
|
SSL |
-
manpki.api.cert.add_cert()¶ Create new certificate
Param: cn CN of the certificate Param: mail Email for the certificate Param: profile SSL Profile Shell: create Context: cert Returns: information of the new certificate
-
manpki.api.cert.get_cert_param(param)¶ Get certificate parameter
Param: param Specific parameter Shell: show cert param Context: None Returns: information of the certificate parameter
-
manpki.api.cert.set_cert()¶ Set cert element
Param: basecn Base CN of the next certificate Param: email Email for the next certificate Shell: set cert Context: cert Returns: information if element are correctly set
-
manpki.api.cert.show_cert(certid)¶ Show all cert or specific cert information
Param: certid Certificate Identifier Shell: show cert Context: none Returns: ca information