mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 10:55:51 +02:00
feat: SSL management support different types of certificates of a same doamin name #309
This commit is contained in:
parent
464e84a64f
commit
3e90b838fd
11 changed files with 54 additions and 24 deletions
|
@ -2,6 +2,7 @@ import type { ModelBase } from '@/api/curd'
|
|||
import Curd from '@/api/curd'
|
||||
import type { DnsCredential } from '@/api/dns_credential'
|
||||
import type { AcmeUser } from '@/api/acme_user'
|
||||
import type { PrivateKeyType } from '@/constants'
|
||||
|
||||
export interface Cert extends ModelBase {
|
||||
name: string
|
||||
|
@ -32,6 +33,7 @@ export interface CertificateInfo {
|
|||
export interface CertificateResult {
|
||||
ssl_certificate: string
|
||||
ssl_certificate_key: string
|
||||
key_type: PrivateKeyType
|
||||
}
|
||||
|
||||
const cert: Curd<Cert> = new Curd('/cert')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue