GithubHelp home page GithubHelp logo

le-acme2-php's People

Contributors

fbett avatar vokeit-gschuster 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

Watchers

 avatar  avatar  avatar  avatar

le-acme2-php's Issues

Throw exceptions

Currently errors are just dumped to standard output

Ideally these should be thrown using typed exceptions so they can be caught, handled and properly rendered

Not creating keys?

I've taken the sample file and am not able to get it working โ€“ no key files are created, and it looks like the certificate is not created at LetsEncrypt. Am I missing something? Some kind of permissions that need to be set?

It would also be great to see the code for the described "integrated workflow" as I am attempting to create the same functionality.

Contact info

Hey,

Do you by any chance take on freelance work? If yes, how do i get in touch with you?

Hanging on 'response received'

Hi there,

I've been using this library for a fair while now (I actually submitted issue #1 !) and have recently started getting some bizarre behaviour.

Running $order->authorize(\LE_ACME2\Order::CHALLENGE_TYPE_HTTP); results in the authorisation process hanging forever and not progressing; my logic hasn't changed and nor has the environment - generating a certificate using the command line tool on the same server works.

Enabling logging yields the following:

08-11-2018 21:14:34: will request from https://acme-v02.api.letsencrypt.org/acme/authz/XXXXXX
08-11-2018 21:14:35: LE_ACME2\Connector\Connector: response received

Any insight would be appreciated!

Thanks,
Lee

Wrong composer command

Hi there,

It looks as though the composer require line is wrong in your documentation.
By the looks of things, it should be

composer require fbett/le_acme2

Lee

Use/Install the fbett/le-acme2-php

I was wondering if there are any install instructions for fbett/le-acme2-php
Most things are unclear.
I can install a tree of php files only with some trouble.
I need to know any directories used, how to set them to my local names, what they are for and how they will be used.
I do not run cron, and production site updates cannot be done from within the php/Apache system.
Need some help here ...
Target site/first try: www.randomserver.dyndns.org

Error loading request_extensions_section section v3_req with OCSP stapling enabled and Internationalized Domain name

Hi,

With an internationalised domain name and OCSP stapling enabled, I get the following error:

PHP Warning:  openssl_csr_new() [<a href='http://php.net/manual/en/function.openssl-csr-new'>function.openssl-csr-new</a>]:
Error loading request_extensions_section section v3_req of /var/www/****/csr_config in ***le_acme2/src/LE_ACME2/Utilities//Certificate.php on line 58

I checked the content of the csr_config, which didn't show anything strange:

	      HOME = .
			RANDFILE = ***.rnd
			[ req ]
			default_bits = 4096
			default_keyfile = privkey.pem
			distinguished_name = req_distinguished_name
			req_extensions = v3_req
			[ req_distinguished_name ]
			countryName = Country Name (2 letter code)
			[ v3_req ]
			basicConstraints = CA:FALSE
			subjectAltName = DNS:xn--***,DNS:www.xn--***
			keyUsage = nonRepudiation, digitalSignature, keyEncipherment
			tlsfeature=status_request

Disabling OCSP stapling resolved the issue. I didn't have any issues with this with any of the "standard" domain names I tested.

Any ideas on this?

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.