pki

Zitat des Tages

Written by  on August 8, 2016

Plan on time to push new CA certificates out into your infrastructure and user base. Do not attempt to generate a new CA, and plan to stat using it to issue end-entity certificates on the same weekend!

Certificate Trust

Written by  on Juli 2, 2016

It is a bad practice to blindly trust an unknown certificate issued from an unknown CA.

Ach wie gut, dass mit dem Betriebssystem nicht Zertifikate hunderte unbekannter CAs mitgeliefert werden.

Log filtering

Written by  on Juli 1, 2016

Sensitive information should be filtered at the source during log generation.

Schützenswerte Daten, sollten erst gar nicht auf eventuell schlechter geschützte Systeme kommen.

CRL contents

Written by  on Juni 30, 2016

Per RFC 5280 specification, a complete CRL contains all unexpired certificates that have been revoked whithin the CA scope. Thus, each CA maintains its own CRL such that a relying party needs to deal with more than one CRL. The various CRL are posted on an accessible site where relying parties can download the certificate status information.

Zitat des Tages

Written by  on Juni 29, 2016

Certificate suspension should not be supported due to the complexities and side effects of managing authorized individual possibly from different organizations. Many CA software products do not support certificate suspension.

Zitat des Tages

Written by  on Juni 27, 2016

Certificate modification changes the key lifecycle its original operational period, which is a risky practice; certificates should not be modified; they should always be rekeyed.

Zitat des Tages

Written by  on Juni 26, 2016

Certificate renewal extends the key lifecycle beyond its original operational period, which is a risky practice; certificates should not be renewed; they should always be rekeyed.

Gültige CRLs in ADCS

Written by  on Juni 25, 2016

Microsoft ADCS speichert alle aktuell gültigen CRLs in der CA eigenen Datenbank.
Dieses Verhalten lässt sich auch ändern, wenn man alte CRLs für Audit-Zwecke braucht.

Anzeigen lassen kann man sich die CRLs mit

certutil -view crl

Interessante Quelle dazu

Openssl CRL Verify

Written by  on Juni 24, 2016

Openssl 1.0.2h hat einen kleinen Bug beim verifizieren von CRLs die etwas größer als ein MB sind. Überschreitet eine CRL diese Größe, funktioniert openssl nicht mehr. Bei Symantec war es diese Woche so weit. Es ist also doch nicht so toll, wenn man immer die letzte Version installiert hat.

Mittlerweile gibt es aber auch schon einen Patch dafür… nur halt noch keine offizielle Version.

Über selbst signierte Zertifikate

Written by  on April 7, 2016

Relying on self-signed certificates is a bad practice since they do not authenticate the subject of the certificate and because the contents are unreliable.

Security Without Obscurity: A Guide to PKI Operations