Giter VIP home page Giter VIP logo

Comments (6)

isaiaholoyede avatar isaiaholoyede commented on August 20, 2024

I have the same issue. How can I fix this?

from ansible-pki.

drybjed avatar drybjed commented on August 20, 2024

You could remove the installed acme-tiny script and git repository, and set the above variable in the Ansible inventory. The next time you run debops.pki on a host, Ansible will download an older acme-tiny release which should work for now.

from ansible-pki.

drybjed avatar drybjed commented on August 20, 2024

This issue should now be fixed in the DebOps monorepo via debops/debops#250.

from ansible-pki.

isaiaholoyede avatar isaiaholoyede commented on August 20, 2024

@drybjed I got a different error when after I tried again...

$ cat /etc/pki/realms/realms//acme/error.log

Parsing account key...
Parsing CSR...
Found domains: rccgoha.org, www.rccgoha.org
Getting directory...
Directory found!
Registering account...
Traceback (most recent call last):
File "/usr/local/lib/pki/acme-tiny", line 197, in
main(sys.argv[1:])
File "/usr/local/lib/pki/acme-tiny", line 193, in main
signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca, disable_check=args.disable_check, directory_url=args.directory_url, contact=args.contact)
File "/usr/local/lib/pki/acme-tiny", line 111, in get_crt
account, code, acct_headers = _send_signed_request(directory['newAccount'], reg_payload, "Error registering")
TypeError: string indices must be integers

from ansible-pki.

drybjed avatar drybjed commented on August 20, 2024

@IsaiahO Did you remove the existing PKI realm directory entirely? Can you show the contents of /etc/pki/realms/rccgoha.org/config/realm.conf?

from ansible-pki.

isaiaholoyede avatar isaiaholoyede commented on August 20, 2024

@drybjed This is now fixed. I deleted /etc/pki/realms/ and redeployed. Thank you very much.

from ansible-pki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.