0
난에 CentOS 서버를하고 난 다음 명령을 사용하여 아파치 인증서를 설치하려고 해요 :을 만드는 중 오류 아파치 인증서
certbot --apache -d myDomain.com
을하지만 다음과 같은 오류 받고 있어요 :
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for myDomain.com
Error while running apachectl graceful.
Job for httpd.service invalid.
Cleaning up challenges
Error while running apachectl graceful.
Job for httpd.service invalid.
Encountered exception during recovery
Error while running apachectl graceful.
Job for httpd.service invalid.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/certbot/error_handler.py", line 100, in _call_registered
self.funcs[-1]()
File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 284, in _cleanup_challenges
self.auth.cleanup(achalls)
File "/usr/lib/python2.7/site-packages/certbot_apache/configurator.py", line 1945, in cleanup
self.restart()
File "/usr/lib/python2.7/site-packages/certbot_apache/configurator.py", line 1834, in restart
self._reload()
File "/usr/lib/python2.7/site-packages/certbot_apache/configurator.py", line 1845, in _reload
raise errors.MisconfigurationError(str(err))
MisconfigurationError: Error while running apachectl graceful.
Job for httpd.service invalid.
Error while running apachectl graceful.
Job for httpd.service invalid.
을
아파치가 실행 중인지 확인합니다 :
ps aux|grep httpd
root 16569 0.0 0.0 9064 920 pts/1 S+ 14:44 0:00 grep --color=auto httpd
나는 실행중인 아파치의 춤.
이 오류를 해결할 수있는 방법이나 해결 방법이 있다면 알고 계실 것입니다.
정말 감사드립니다.
다음 명령을 실행했습니다. 'certdot --apache -d myDomain.com을 실행 한 후에'httpd -k stop' 및'apachectl start'을 실행했지만 이제는이 오류가 발생합니다 :'인증 절차에 실패했습니다. myDomain.com (tls-sni-01) : urn : acme : error : unauthorized :: 클라이언트에게 충분한 승인이 없습니다 :: 어떤 아이디어? – user2924482
LE 측과 같이 들리면 도전을 읽을 수 없습니다. 디렉토리가 설정 파일에서 잘못되었거나, 파일이 일부 액세스 규칙에 의해 차단되고 있으며, 위치가 http에서 https로 리디렉션되고 있습니다. 경로가없는 잘 알려진 디렉토리의 파일을 리디렉션없이 얻을 수 있는지 확인하십시오. . –
어떻게 할 수 있습니까?. – user2924482