Git Product home page Git Product logo

Comments (3)

rmbolger avatar rmbolger commented on May 26, 2024

Hey @lazynooblet, thanks for reaching out. In this particular case, that "No ACME server configured" is being thrown by both Get-PAAccount and New-PAAccount because you can't do either action without a server configured.

So your try/catch is actually catching the first error with Get-PAAccount. But then another one is being thrown within your catch block when New-PAAccount is called.

from posh-acme.

lazynooblet avatar lazynooblet commented on May 26, 2024

Yes, you're right, its right there in the text as well. I was implementing Posh-ACME in a rush and now that its up and running I do indeed do Set-PAServer at the beginning of the script.

Thanks for the reply, sorry for the noise.

from posh-acme.

rmbolger avatar rmbolger commented on May 26, 2024

No problem. We all occasionally miss stuff that seems obvious in retrospect. Sometimes it just takes another pair of eyes.

from posh-acme.

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.