{"action":"created","issue":{"url":"https://api.github.com/repos/certbot/certbot/issues/3742","repository_url":"https://api.github.com/repos/certbot/certbot","labels_url":"https://api.github.com/repos/certbot/certbot/issues/3742/labels{/name}","comments_url":"https://api.github.com/repos/certbot/certbot/issues/3742/comments","events_url":"https://api.github.com/repos/certbot/certbot/issues/3742/events","html_url":"https://github.com/certbot/certbot/issues/3742","id":187354304,"number":3742,"title":"HTTPS redirect not working","user":{"login":"hex-m","id":16013327,"avatar_url":"https://avatars.githubusercontent.com/u/16013327?v=3","gravatar_id":"","url":"https://api.github.com/users/hex-m","html_url":"https://github.com/hex-m","followers_url":"https://api.github.com/users/hex-m/followers","following_url":"https://api.github.com/users/hex-m/following{/other_user}","gists_url":"https://api.github.com/users/hex-m/gists{/gist_id}","starred_url":"https://api.github.com/users/hex-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hex-m/subscriptions","organizations_url":"https://api.github.com/users/hex-m/orgs","repos_url":"https://api.github.com/users/hex-m/repos","events_url":"https://api.github.com/users/hex-m/events{/privacy}","received_events_url":"https://api.github.com/users/hex-m/received_events","type":"User","site_admin":false},"labels":[{"id":258836903,"url":"https://api.github.com/repos/certbot/certbot/labels/apache","name":"apache","color":"fbca04","default":false},{"id":276680181,"url":"https://api.github.com/repos/certbot/certbot/labels/more-info","name":"more-info","color":"006b75","default":false},{"id":291660454,"url":"https://api.github.com/repos/certbot/certbot/labels/security%20enhancements","name":"security enhancements","color":"ffb8f0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-04T14:55:29Z","updated_at":"2016-11-07T14:26:21Z","closed_at":"2016-11-07T14:26:21Z","body":"I have Apache running on CentOS 7 with the default configuration of phpMyAdmin. So basically `yum install epel-release python-certbot-apache httpd mod_ssl phpmyadmin` without special configuration.\r\ncertbot --apache does run fine in \"easy\" mode but when I try \"secure\" (Make all requests redirect to secure HTTPS access) I get errors and the redirect does not work.\r\nTerminal output:\r\n```\r\nError while running apachectl configtest.\r\n\r\nAH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::3465:XXX. Set the 'ServerName' directive globally to suppress this message\r\n(2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for error log of vhost defined at /etc/httpd/conf.d/le-redirect-servername.example.com.conf:1\r\nAH00014: Configuration check failed\r\n\r\nIMPORTANT NOTES:\r\n - We were unable to restart web server\r\n```\r\nThe mentioned path /var/log/apache2/ does of course not exist on a CentOS System. Maybe that's part of the problem?\r\n/var/log/httpd/error_log:\r\n```\r\n[Fri Nov 04 15:31:58.214571 2016] [mpm_prefork:notice] [pid 10052] AH00171: Graceful restart requested, doing restart\r\nAH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::3465:XXX. Set the 'ServerName' directive globally to suppress this message\r\n[Fri Nov 04 15:31:58.262104 2016] [auth_digest:notice] [pid 10052] AH01757: generating secret for digest authentication ...\r\n[Fri Nov 04 15:31:58.262761 2016] [lbmethod_heartbeat:notice] [pid 10052] AH02282: No slotmem from mod_heartmonitor\r\n[Fri Nov 04 15:31:58.278655 2016] [mpm_prefork:notice] [pid 10052] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 configured -- resuming normal operations\r\n[Fri Nov 04 15:31:58.278664 2016] [core:notice] [pid 10052] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'\r\n```"},"comment":{"url":"https://api.github.com/repos/certbot/certbot/issues/comments/258848802","html_url":"https://github.com/certbot/certbot/issues/3742#issuecomment-258848802","issue_url":"https://api.github.com/repos/certbot/certbot/issues/3742","id":258848802,"user":{"login":"hex-m","id":16013327,"avatar_url":"https://avatars.githubusercontent.com/u/16013327?v=3","gravatar_id":"","url":"https://api.github.com/users/hex-m","html_url":"https://github.com/hex-m","followers_url":"https://api.github.com/users/hex-m/followers","following_url":"https://api.github.com/users/hex-m/following{/other_user}","gists_url":"https://api.github.com/users/hex-m/gists{/gist_id}","starred_url":"https://api.github.com/users/hex-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hex-m/subscriptions","organizations_url":"https://api.github.com/users/hex-m/orgs","repos_url":"https://api.github.com/users/hex-m/repos","events_url":"https://api.github.com/users/hex-m/events{/privacy}","received_events_url":"https://api.github.com/users/hex-m/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T14:26:21Z","updated_at":"2016-11-07T14:26:21Z","body":"That makes sense. Thank you!\r\nI just checked and yes, epel-release currently has version 0.8.1 from July 2016 and the bug was fixed in August."}}
{"actor":{"display_login":"hex-m"}}