Skip to content

kuzik/cert-chain-buider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cert chain builder

Project provides functionality for generating ssl chains from the .json file

Example

Input

[
  {
    "common_name": "Root CA",
    "type": "root",
    "organization": "My Organization",
    "country": "US",
    "validity": {
      "start_date": "2024-01-01",
      "end_date": "2034-01-01"
    },
    "key_size": 4096,
    "children": [
      {
        "common_name": "Intermediate CA 1",
        "type": "ica",
        "organization": "My Organization",
        "country": "US",
        "validity": {
          "start_date": "2024-01-01",
          "end_date": "2030-01-01"
        },
        "key_size": 2048,
        "children": [
          {
            "common_name": "www.example.com",
            "type": "ee",
            "organization": "Example Corp",
            "country": "US",
            "validity": {
              "start_date": "2024-01-01",
              "end_date": "2026-01-01"
            },
            "key_size": 2048,
            "children": []
          }
        ]
      },
      {
        "common_name": "Intermediate CA 2",
        "type": "ica",
        "organization": "My Organization",
        "country": "US",
        "validity": {
          "start_date": "2024-01-01",
          "end_date": "2030-01-01"
        },
        "key_size": 2048,
        "children": []
      }
    ]
  }
]

Output

About

Build a cert chain from the .json file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages