Skip to content

Instantly share code, notes, and snippets.

@0xinterface
Created November 2, 2024 12:26
Show Gist options
  • Save 0xinterface/ede6919c900c23aa66501d6fd18bbefa to your computer and use it in GitHub Desktop.
Save 0xinterface/ede6919c900c23aa66501d6fd18bbefa to your computer and use it in GitHub Desktop.
cfssl
{
"CN": "internal.tld",
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
"C": "US",
"ST": "CA",
"L": "San Francisco"
}
]
}
{
"signing": {
"default": {
"expiry": "168h"
},
"profiles": {
"server": {
"expiry": "8760h",
"usages": [
"signing",
"key encipherment",
"server auth"
]
},
"client": {
"expiry": "8760h",
"usages": [
"signing",
"key encipherment",
"client auth"
]
}
}
}
}
{
"CN": "subdomain.internal.tld",
"hosts": ["xyz.internal.tld", "subdomain.internal.tld", "127.0.0.1"],
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
"C": "US",
"ST": "CA",
"L": "San Francisco"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment