GithubHelp home page GithubHelp logo

Comments (4)

jungle-boogie avatar jungle-boogie commented on July 19, 2024

Is there some reason you're not using rcctl to enable, start, stop services?

example:

/etc/rc.d/httpd stop
/etc/rc.d/httpd start

from edgewalker.

jungle-boogie avatar jungle-boogie commented on July 19, 2024

You're using pkg_add already:
pkg_add libqrencode

You could move this at the top (or near) and also include wget

from edgewalker.

fazalmajid avatar fazalmajid commented on July 19, 2024

Thank you for reporting this. I have been using Vultr VMs for the last testing, mostly because I don't have to worry about NAT traversal for the Let's Encrypt negotiation, and it didn't occur to me that their images would have extra stuff a vanilla OpenBSD install wouldn't have, like wget or python3.

Regarding the PF error, it's because you have both IPv4 and IPv6 addresses and I didn't test the AWK script that gets the main IP on a system that has both.

The OpenSSL error suggests you did not use a valid Let's Encrypt account key, or more likely you used one in the JWK format used by Certbot rather than the PEM format used by Acme-Tiny and OpenSSL. Can you confirm? A JWK key would start with a {, a PEM key would start with -----BEGIN RSA PRIVATE KEY-----.

In any case, I pushed some fixes, can you see if they help?

from edgewalker.

jungle-boogie avatar jungle-boogie commented on July 19, 2024

Hi,

Sorry for the late reply.

I like the changes you did. Perhaps one small critique I could make would be to print out a message of what packages are being installed. Maybe something like "checking to see if wget is installed" and/or "installing wget, python3"

The OpenSSL error suggests you did not use a valid Let's Encrypt account key

That's correct. I think I just typed some random characters in and pressed ^D. So that looks like a failure on acme_tiny.py part, but it's expected, since the key isn't legitimate.

Thanks again for the script!

from edgewalker.

Related Issues (6)

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.