Skip to content

zablockil/daedalus

Repository files navigation

Daedalus x509 hierarchy

tree

x509 certificate package used to test the fetching of missing certificates in the chain.

  • caIssuers
    • end entity or CA certificates (excluding root)
      • single DER encoded certificate
        • .cer application/pkix-cert
      • CMS "certs-only" message
        • .p7c application/pkcs7-mime
  • caRepository
    • CA certificates
      • single DER encoded certificate
        • .cer application/pkix-cert
      • CMS "certs-only" message
        • .p7c application/pkcs7-mime

Steps to reproduce

  • edit Daedalus_hierarchy.sh script and change the address of your local server: website_ca="http://localhost:1180/${test_directory}"
  • run the script: ./daedalus_hierarchy.sh
  • 2 folders will be created:
    • p7c_tests_xxxxx - copy to the root directory of the local server
    • IMPORT_THIS_xxxxx - contains files for testing the download of missing certificates via http.

In Windows, when you open IMPORT_THIS_xxxxx/cert_G1.der.cer file, the system retrieves the missing certificates and displays the following chain:

ms

(“A” root CA certificate intentionally missing)

There are 3 generated packages on this page:

  • daedalus_462d7.tar.gz
  • daedalus_4341c.tar.gz
  • daedalus_04297.tar.gz

Technical details

AIA (Authority Information Access)

The extension included in the certificate is used to download missing certificates and build the chain up (forward direction). We start with the USER “G” and end with the “trusted” root certificate “A”.

(arrows should be drawn in reverse)

G1

g1

G1←F1←E1←D2←C2←B1

G2

g2

G2←

G3

g3

G3←

G4

g4

G4←F3←E2

certificates obtained so far

stage1

G5

g5

G5←F4←

G6

g6

G6←F5←E3←

G7

g7

G7←F6←E4←D3←C3←B2←A

summary

summary

SIA (Subject Information Access)

The extension included in the certificate is used to retrieve missing certificates and build the chain down (in reverse). We start with the “trusted” root certificate A and go all the way to the final USER G.

sia

links

ms stuff

About

Creates a complex maze of x509 certificates for testing AIA/SIA on localhost.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages