Add functions to get SSL Certificates files
Closed this issue · 0 comments
jeffprestes commented
Add functions below to main.go
func getFullchainPemFilePath() string {
fullchain := config.Cfg.Section("").Key("fullchain_path").String()
return fullchain
}
func getPrivatekeyPemFilePath() string {
privatekey := config.Cfg.Section("").Key("privatekey_path").String()
return privatekey
}