Updated certificates

This commit is contained in:
2018-06-23 14:23:53 +09:00
parent 71c9dfd15a
commit 66d7fd16a4
14 changed files with 37 additions and 149 deletions

View File

@ -14,7 +14,7 @@ func configureHTTPS(app *aero.Application) {
fullKeyPath := path.Join(arn.Root, "security", "privkey.pem")
if _, err := os.Stat(fullCertPath); os.IsNotExist(err) {
defaultCertPath := path.Join(arn.Root, "security", "default", "fullchain.pem")
defaultCertPath := path.Join(arn.Root, "security", "default", "server.crt")
err := os.Link(defaultCertPath, fullCertPath)
if err != nil {
@ -26,7 +26,7 @@ func configureHTTPS(app *aero.Application) {
}
if _, err := os.Stat(fullKeyPath); os.IsNotExist(err) {
defaultKeyPath := path.Join(arn.Root, "security", "default", "privkey.pem")
defaultKeyPath := path.Join(arn.Root, "security", "default", "server.key")
err := os.Link(defaultKeyPath, fullKeyPath)
if err != nil {