{% if certificate.lease %} {% include "views/lease.html" %} {% endif %} Signed {% if certificate.signer %} by {{ certificate.signer }}{% endif %}, expires .
{% if session.authority.tagging %} {% include "views/attributes.html" %}
{% endif %}To fetch certificate:
wget http://{{ window.location.hostname }}/api/signed/{{ certificate.common_name }}/
curl http://{{ window.location.hostname }}/api/signed/{{ certificate.common_name }}/ \
| openssl x509 -text -noout
To perform online certificate status request:
curl http://{{ window.location.hostname }}/api/certificate/ > session.pem
openssl ocsp -issuer session.pem -CAfile session.pem \
-url http://{{ window.location.hostname }}/api/ocsp/ \
-serial 0x{{ certificate.serial }}
{% endif %}
To fetch script:
curl https://{{ window.location.hostname }}:8443/api/signed/{{ certificate.common_name }}/script/ \
--cacert /etc/certidude/authority/{{ window.location.hostname }}/ca_cert.pem \
--key /etc/certidude/authority/{{ window.location.hostname }}/host_key.pem \
--cert /etc/certidude/authority/{{ window.location.hostname }}/host_cert.pem
Common name | {{ certificate.common_name }} |
---|---|
Organizational unit | {% if certificate.organizational_unit %}{{ certificate.organizational_unit }}{% else %}-{% endif %} |
Serial number | {{ certificate.serial | serial }} |
Signed | {{ certificate.signed | datetime }}{% if certificate.signer %} by {{ certificate.signer }}{% endif %} |
Expires | {{ certificate.expires | datetime }} |
Lease | {{ certificate.lease.inner_address }} at {{ certificate.lease.last_seen | datetime }} from {{ certificate.lease.outer_address }} |
SHA256 | {{ certificate.sha256sum }} |
Extended key usage | {{ certificate.extensions.extended_key_usage | join(", ") }} |