mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 23:41:57 +00:00
allow to use der format when generate fake cert
This commit is contained in:
parent
d2ee2c3f13
commit
32c472c09c
7 changed files with 42 additions and 30 deletions
|
|
@ -42,9 +42,9 @@ Set the tls service type. It should be returned in response.
|
|||
cert
|
||||
----
|
||||
|
||||
**optional**, **type**: string
|
||||
**optional**, **type**: pem string or der binary
|
||||
|
||||
The real upstream cert.
|
||||
The real upstream leaf cert in PEM string format or DER binary format.
|
||||
|
||||
.. versionadded:: 1.9.0
|
||||
|
||||
|
|
@ -72,16 +72,16 @@ Set the tls service type. It should be the same value as in the request.
|
|||
cert
|
||||
----
|
||||
|
||||
**required**, **type**: string
|
||||
**required**, **type**: pem string
|
||||
|
||||
The generated fake certificate in PEM format.
|
||||
The generated fake certificate (chain) in PEM format.
|
||||
|
||||
key
|
||||
---
|
||||
|
||||
**required**, **type**: string
|
||||
**required**, **type**: pem string or der binary
|
||||
|
||||
The generated fake private key in PEM format.
|
||||
The generated fake private key in PEM string format or in DER binary format.
|
||||
|
||||
ttl
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue