debops / ansible-pki

Bootstrap and manage internal PKI, Certificate Authorities and OpenSSL/GnuTLS certificates
GNU General Public License v3.0
65 stars 29 forks source link

Error with pki-realm script #65

Closed carlalexander closed 7 years ago

carlalexander commented 8 years ago

Getting this error from pki-realm:

/usr/local/lib/pki/pki-realm: line 573: selfsigned/gnutls.conf: No such file or directory

I think it's because it's running on an already created PKI domain before the selfsigned changes. The directory doesn't exist so it can't find the file. I tried looking at the script to see how it was doing, but couldn't find where you call create_gnutls_config.

drybjed commented 8 years ago

That would be correct. Can you check if it works if you create the selfsigned directory in that specific realm?

ypid commented 7 years ago

@carlalexander drybjed is doing some "advanced" things here :wink: Try searching for /create_[^\s]*_config/

carlalexander commented 7 years ago

Going to close this since I don't remember this issue and I haven't seen it in a while. I'll reopen if I see it.