-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetting_example.json
47 lines (47 loc) · 1.24 KB
/
setting_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"database": {
"engine": "mysql",
"db_name": "simpleCA",
"user": "simpleCA",
"password": "password",
"host": "localhost",
"port": 3306
},
"auth_setting": {
"token_expire_time": 30
},
"secret": {
"response_secret": "response_secret",
"ca_root_private_key_name": "root_private_key.pem",
"ca_root_private_key_len": 2048,
"user_cer_path": "/SimpleCA/cers",
"ca_root_cer_name": "root_cer.cer",
"ca_issuer_info": {
"country": "CN",
"province": "Shanxi",
"locality": "Taiyuan",
"organization": "The North University Of China",
"organizational_unit": "Big Data Academy",
"email_address": "[email protected]",
"common_name": "JuneBao"
},
"certificate_effective_time": 365,
"download_link": "http://localhost/cers/"
},
"smtp_setting": {
"host": "smtp.qq.com",
"port": 465,
"username": "[email protected]",
"password": "smtp_password"
},
"site_link": "https://junebao.top",
"crl_setting": {
"crl_distribution_point": "http://localhost/crl.crl",
"crl_file_name": "/SimpleCA/crl.crl",
"crl_update_interval": 24
},
"csr_file_key": "CSR_FILE",
"authority_info_access": {
"issuing_certificate_url": "http://localhost/root_cer.cer"
}
}