Code Monkey home page Code Monkey logo

certificaat's People

Contributors

danielsz avatar danielszmu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ivanpierre pks-os

certificaat's Issues

Any plans for a programmatic API?

I'm thinking of deploying a simple microservice to Google App Engine which takes a single jar file so I'll have to setup my certificate from within my application.

Issuing a certificate starting from a CSR

Hi! I'm trying to automate Salesforce certificate rotation (woe is me). Salesforce generates and holds the private key for you, so I can't upload a private key as I normally would with this tool or something like certbot certonly. They do give you a CSR; which I can use with certbot, but I'd prefer to use this.

It seems like all the machinery should be here, but it's not clear how to wire it together. Do you have an idea?

INetAddress.isReachable returns false for reachable addresses

I'm trying to use this library to set up a cert with Let's Encrypt and running into the following error:

$ certificaat authorize -m google.com -a [email protected] -c http-01 -u acme://letsencrypt.org/staging
Failed to validate "-m google.com": Must be a valid domain

(I'm obviously not trying to get a cert for google.com, but I've used that as the example since it's clearly a valid domain.)

The issue seems to stem from the use of .isReachable in the specs:

(.isReachable (InetAddress/getByName "google.com") 5000)
;;=> false

Not sure why that would be or if it has to do with my environment (I see the same behavior on my Mac and a fresh amazon linux box, both with Java 1.8). Seems I'm not the only one to have issues with INetAddress.isReachable, though. See: https://stackoverflow.com/questions/9922543/why-does-inetaddress-isreachable-return-false-when-i-can-ping-the-ip-address

Anyone else run into this?

If it is actually an issue and not just me, I see a couple easy options to address it:

  • Replace that call to INetAddress.isReachable with something else to validate the URL
  • Add a command line option to skip that check (I expect leading to issues down the line with the CA if it's actually unreachable, but in my opinion that's better than not even being able to try because of the Spec)

Edit: FYI I do see it work for some sites e.g. -m wikipedia.org

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.