mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-05 01:59:44 +01:00
3e8d71538f
update the default certificates so the subject is formal.
29 lines
612 B
JSON
29 lines
612 B
JSON
{
|
|
"server": {
|
|
"http_addr": ":4443"
|
|
},
|
|
"trust_service": {
|
|
"type": "remote",
|
|
"hostname": "notarysigner",
|
|
"port": "7899",
|
|
"tls_ca_file": "./notary-signer-ca.crt",
|
|
"key_algorithm": "ecdsa"
|
|
},
|
|
"logging": {
|
|
"level": "debug"
|
|
},
|
|
"storage": {
|
|
"backend": "mysql",
|
|
"db_url": "server@tcp(mysql:3306)/notaryserver?parseTime=True"
|
|
},
|
|
"auth": {
|
|
"type": "token",
|
|
"options": {
|
|
"realm": "$token_endpoint/service/token",
|
|
"service": "harbor-notary",
|
|
"issuer": "harbor-token-issuer",
|
|
"rootcertbundle": "/config/root.crt"
|
|
}
|
|
}
|
|
}
|