Fixed early renew day not passed into auto renewer config bug
This commit is contained in:
Toby Chui
2024-09-26 22:57:49 +08:00
parent 5c56da1180
commit cab2f4e63a
14 changed files with 143186 additions and 22426 deletions

View File

@@ -5,14 +5,14 @@ import (
"encoding/pem"
"errors"
"fmt"
"io/ioutil"
"os"
"time"
)
// Get the issuer name from pem file
func ExtractIssuerNameFromPEM(pemFilePath string) (string, error) {
// Read the PEM file
pemData, err := ioutil.ReadFile(pemFilePath)
pemData, err := os.ReadFile(pemFilePath)
if err != nil {
return "", err
}