Git Product home page Git Product logo

Comments (5)

TheJoin95 avatar TheJoin95 commented on September 26, 2024

It's seems like an issue with strategy.sjsu.edu site or the machine where you are making a new cert.
Are you sure that strategy.sjsu.edu is reachable? Have you tried a ping to the site?

Remember: when you are renewing a new cert, you need to remove any htaccess / nginx rule that avoid the http request (eg: redirect all to https).

from acmephp.

simonrodan avatar simonrodan commented on September 26, 2024

Many thanks, TheJoin95, for your suggestions.

The http / port 80 traffic was being redirected to port 443. I have now reopened http access on port 80.
I have removed the old certificates from server.
I generated a new set using 'authorize'
I created the new challenge file
I checked that the site is reachable - the challenge URL displays the contents of the file in .well-known/acme-challange
I then ran 'check' again and got this:

php acmephp.phar check strategy.sjsu.edu
Loading account key pair...
Loading the authorization token for domain strategy.sjsu.edu ...
Testing the challenge...

[GuzzleHttp\Exception\RequestException]
Error creating resource: [message] fopen(http://strategy.sjsu.edu/.well-known/acme-challenge/KjCwuEPMqcmLEMUBNDrSst5gI-a-8wNzsv
G8hh7QeqU): failed to open stream: Connection timed out
[file] phar:///home/simon/acmephp.phar/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php
[line] 312

[RuntimeException]
Error creating resource: [message] fopen(http://strategy.sjsu.edu/.well-known/acme-challenge/KjCwuEPMqcmLEMUBNDrSst5gI-a-8wNzsv
G8hh7QeqU): failed to open stream: Connection timed out
[file] phar:///home/simon/acmephp.phar/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php
[line] 312

Any suggestions as to what I should do next?

Thanks

from acmephp.

simonrodan avatar simonrodan commented on September 26, 2024

Dear Miki
I have resolved the problem by using check -t strategy.sjsu.edu instead of check strategy.sjsu.edu. I have no idea why that worked but it allowed me to proceed to the certificate request and the site is now back up and running with certificates in place.
Thanks very much for your suggestion

from acmephp.

jderusse avatar jderusse commented on September 26, 2024

You may have to request a new authorization challenge.

What's about using the new "run" command?

from acmephp.

tgalopin avatar tgalopin commented on September 26, 2024

I am closing this issue as it seems to be solved, don't hesitate to answer or create another one if it is not. Note you can also use the new run command which should be much easier to setup and reuse :) .

from acmephp.

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.