Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 compatibility #5

Closed
Netspider opened this issue Jun 18, 2023 · 2 comments
Closed

PHP 8.1 compatibility #5

Netspider opened this issue Jun 18, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Netspider
Copy link

After upgrading to PHP 8.2 this script throws an error. It gives a possible solution but as I don't know php I cannot create a patch myself:

Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator manual, Installer None
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for ronnylindner.de
Running manual-auth-hook command: acme-dns-nc/scripts/certbot-nc-auth
Error output from manual-auth-hook command certbot-nc-auth:
PHP Fatal error: Uncaught ErrorException: SoapClient::__construct(): The "ssl_method" option is deprecated. Use "ssl" stream context options instead in acme-dns-nc/scripts/acme-dns-nc:253
Stack trace:
#0 [internal function]: error_handler()
#1 acme-dns-nc/scripts/acme-dns-nc(253): SoapClient->__construct()
#2 acme-dns-nc/scripts/acme-dns-nc(120): NCCCP->__construct()
#3 {main}
thrown in acme-dns-nc/scripts/acme-dns-nc on line 253

Waiting for verification...
Challenge failed for domain DOMAIN
dns-01 challenge for DOMAIN
Cleaning up challenges
Running manual-cleanup-hook command: acme-dns-nc/scripts/certbot-nc-cleanup
manual-cleanup-hook command "acme-dns-nc/scripts/certbot-nc-cleanup" returned error code 255
Error output from manual-cleanup-hook command certbot-nc-cleanup:
PHP Fatal error: Uncaught ErrorException: SoapClient::__construct(): The "ssl_method" option is deprecated. Use "ssl" stream context options instead in acme-dns-nc/scripts/acme-dns-nc:253
Stack trace:
#0 [internal function]: error_handler()
#1 acme-dns-nc/scripts/acme-dns-nc(253): SoapClient->__construct()
#2 acme-dns-nc/scripts/acme-dns-nc(120): NCCCP->__construct()
#3 {main}
thrown in acme-dns-nc/scripts/acme-dns-nc on line 253
Attempting to renew cert (DOMAIN) from renewal/DOMAIN.conf produced an unexpected error: Some challenges have failed.. Skipping.

@killerbees19 killerbees19 changed the title PHP 8.2 compatibility PHP 8.1 compatibility Jun 18, 2023
@killerbees19
Copy link
Member

@killerbees19 killerbees19 added the bug Something isn't working label Jun 18, 2023
@killerbees19 killerbees19 self-assigned this Jun 18, 2023
@killerbees19
Copy link
Member

@Netspider Workaround: Just remove the line with ssl_method :-)

https://github.com/froonix/acme-dns-nc/pull/6/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants