Correctly finds certificate

Had a + instead of a , to seperate arguments in the Join function
So it would never find the crt
testing
Justin Reichardt 2023-03-06 19:20:48 -06:00
parent ed9d23ceb9
commit c0cf2abdd7
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ func (ca CA) Initialize() (CA, error) {
func fillFromFile(ca CA) (CA, error) {
var err error
file := path.Join(ca.Location + ca.Name)
file := path.Join(ca.Location , ca.Name)
_, err = os.Stat(file + ".crt")
if err != nil {
return ca, err