User Tools

Site Tools


indexes:convert_a_tdc_danid_certificate

When getting a TDC/DanID certificate it is wrapped inside a html document. This can be a problem for non Windows users.

The following command will extract the certificate from the file signatur.html and put it into signatur.pkcs12:

awk -F \" '/^pkcs12=/ {print $2}' signatur.html | fold -b -w 64 | openssl enc -d -a > signatur.pkcs12
indexes/convert_a_tdc_danid_certificate.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1