User Tools

Site Tools


certstuff

This is an old revision of the document!


Smartcards
Zerts

Pastes

Quirk of update-ca-certificates on one system

Running update-ca-certifcates on a ubuntu 18 system resulted an total clear out of all symlinks in /etc/ssl/certs.

As openssl does not look into the file /etc/ssl/certs/ca-certificates.crt but into everly symlinked file in /etc/ssl/certs it fails to verify all ssl certs.

For some reason this line in /usr/sbin/update-ca-certificates

  find $ETCCERTSDIR -type l ! -exec test -e {} \; -print | while read orphan

does not work on that system. It thinks every file is a broken symlink..

I had change it to this line (this kind of symlink check is recommend on stackexchanged,com

  find $ETCCERTSDIR -xtype l | while read orphan

Client Certificates

Good complete overview of different crypt storage formats

What contents do pfx, pem extension files support and what is their usage/background https://crypto.stackexchange.com/questions/43697/what-are-the-differences-between-pem-csr-key-crt-and-other-such-file-exte

Gedächnisstütze zu Wahrheiten im Zusammenhang mit Java und des Zertifikatspeichern
  1. Die erste Erfahrungen mit Java und Cryptozertifikaten liessen mich glaub das Java im ein eigenens Format für Certifkatsspeicher hat das vom Linux und/oder Windows abweicht
  2. Richtig ist weiterhin das Java bzw. JVMs die java byte-code ausführen unter Linux und Windows eine eigene Zertifikatsspeicher führen immer synchron mit dem des Betriebssystem gepflegt werden sollte
  3. Ich habe aber auch gedacht das Format dieser Speicher ebenfalls nur Java-eigen ist und nicht verwandt oder kompatibel mit andere Format wie pem oder pkcs12
  4. Das war mal richtig ist aber mitterweile nicht immer so
  5. Früher hiess .jks auch immer JKS format. Mittlerweile unterstützt Java aber auch PKCS12 Container, wie diese Quelle von IBM sagt: https://www.ibm.com/docs/en/was-liberty/nd?topic=liberty-default-keystore-type-changed-pk
certstuff.1680248848.txt.gz · Last modified: by rklein