The apache plugin is not working

Thanks Alexander.
I did it. It is working fine after the upgrade.
I’m using the fix 2.4.41-4 and it works normal.

Could you update the main repository with this fix?

Please have a question, I saw that you made available with OPENSSL 1.1.1d? How could it update automatically? My version is 1.0.12k.

Thanks for confirmation, we will update repos within one hour.
Regarding OpenSSL, we always try to keep all CentOS libraries versions as we can, so we do not ship OpenSSL version upgrade for CentOS. We only build/link httpd and nginx against new OpenSSL versions and ship this libraries inside mod_ssl and nginx packages (they are built inside binaries) and do not affect your OS and other applications.

2 Likes

Oh ok Alexander.
Thank You!

Update uploaded to repos.
I think we can close this issue.

3 Likes

Sure! It is working fine, I just updated others VPS and it works now.
Thank You.

It sounds like Alexander is saying this problem is caused by Fedora’s apachectl.sh script. Has anyone reported this issue to Fedora?

I don’t know, could you report it to Fedora?

Yes, it’s definitely Fedora issue: I checked with Fedora 29 and httpd 2.4.39:

# rpm -q httpd
httpd-2.4.39-3.fc29.x86_64

# apachectl -t -D DUMP_RUN_CFG
Passing arguments to httpd using apachectl is no longer supported.
You can only start/stop/restart httpd using this script.
To pass extra arguments to httpd, see the httpd.service(8)
man page.

I do not agree. This is not a defect in Fedora’s package. It is an issue resulting from trying to run a Fedora package on CentOS:

  • On Fedora, Certbot uses httpd -t -D DUMP_RUN_CFG.
  • On CentOS, it uses apachectl -t -D DUMP_RUN_CFG instead.

These presets in Certbot were chosen presumably based on how the base httpd packages in each of those distributions were built.

I don’t think it’s any more complicated than that.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Hi, I updated Apache with codeIT distribution and I am unable now to issue certificates since certbot cannot understand Apache configuration.
I seem the issue is the same as in The apache plugin is not working since the command
apachectl -t -D DUMP_RUN_CFG
is not supported, but from that thread the problem should have been solved last September…

My domain is:
www.lightpoint.info

I ran this command:
certbot --apache

It produced this output:
The apache plugin is not working; there may be problems with your existing configuration. The error was: MisconfigurationError('Apache is unable to check whether or not the module is loaded because Apache is misconfigured.',)

My web server is (include version):
Apache, 2.4.43, latest codeit distribution

The operating system my web server runs on is (include version):
Centos 7.7.1908

I can login to a root shell on my machine (yes or no, or I don’t know):
yes

cerbot --version
1.3.0

Thanks a lot

Giuse

Hi, I updated Apache with codeIT distribution and I am unable now to issue certificates since certbot cannot understand Apache configuration.
I seem the issue is the same as in The apache plugin is not working since the command
apachectl -t -D DUMP_RUN_CFG
is not supported, but from that thread the problem should have been solved last September…

My domain is:
www.lightpoint.info

I ran this command:
certbot --apache

It produced this output:
The apache plugin is not working; there may be problems with your existing configuration. The error was: MisconfigurationError('Apache is unable to check whether or not the module is loaded because Apache is misconfigured.',)

My web server is (include version):
Apache, 2.4.43, latest codeit distribution

The operating system my web server runs on is (include version):
Centos 7.7.1908

I can login to a root shell on my machine (yes or no, or I don’t know):
yes

cerbot --version
1.3.0

Thanks a lot

Giuse

1 Like

The same problem here

[root@server ~]# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error in checking parameter list:
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError(‘Apache is unable to check whether or not the module is loaded because Apache is misconfigured.’,)
[root@server ~]#

1 Like

Hi @AlexanderGerasimov could you update the codIT repo again to fix the Apache and it run the Certbot, please?

1 Like

Hi @daniluski ,

Sorry for this regression.
Please upgrade to 2.4.43-6.

3 Likes

Thank You my friend.
It’s working again.

Good job =D

1 Like