Correctly finds certificate
Had a + instead of a , to seperate arguments in the Join function So it would never find the crttesting
parent
ed9d23ceb9
commit
c0cf2abdd7
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue