-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
List all certficates in the UI (#45)
Co-authored-by: Matteo Valentini <[email protected]>
- Loading branch information
Showing
5 changed files
with
136 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,69 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "list-certificates output", | ||
"$id": "http://schema.nethserver.org/samba/list-certificates-output.json", | ||
"$id": "http://schema.nethserver.org/traefik/list-certificates-output.json", | ||
"description": "Return a list of requested certificates fqdn", | ||
"examples": [ | ||
["example.com"], | ||
[] | ||
[ | ||
|
||
], | ||
[ | ||
"foo.domain.com", | ||
"nextcloud.domain.com", | ||
"webserver2.domain.com" | ||
], | ||
[ | ||
{ | ||
"fqdn": "foo.domain.com", | ||
"type": "internal", | ||
"obtained": true | ||
}, | ||
{ | ||
"fqdn": "nextcloud.domain.com", | ||
"type": "route", | ||
"obtained": true | ||
}, | ||
{ | ||
"fqdn": "webserver2.domain.com", | ||
"type": "custom", | ||
"obtained": true | ||
} | ||
] | ||
], | ||
"type": "array", | ||
"items": { | ||
"oneOf":[{ | ||
"type": "object", | ||
"title": "A certificate expanded" | ||
}, | ||
{ | ||
"type": "string", | ||
"format": "hostname", | ||
"title": "A fully qualified domain name" | ||
}] | ||
} | ||
} | ||
"anyOf": [ | ||
{ | ||
"items": { | ||
"type": "string", | ||
"format": "idn-hostname" | ||
} | ||
}, | ||
{ | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"fqdn": { | ||
"type": "string", | ||
"format": "idn-hostname" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"internal", | ||
"custom", | ||
"route" | ||
] | ||
}, | ||
"obtained": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": [ | ||
"fqdn", | ||
"type", | ||
"obtained" | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters