• ベストアンサー
※ ChatGPTを利用し、要約された質問です(原文:httpdのSSLRequireSSLエラー)

httpdのSSLRequireSSLエラー

satomi3951の回答

回答No.2

mod_sslは有効になってる?

sublota22
質問者

お礼

ご回答をいただきまして、 ありがとうございました。

sublota22
質問者

補足

お世話になります。 教えていただきましたように、 試しに、以下をシェル上から実行して、 その結果も含めて、以下添付しました。 この結果としましては、mod_sslは無効になっているのでしょうか? 以上、よろしくお願いします。 [root@www ~]# yum install mod_ssl Loaded plugins: downloadonly, fastestmirror, priorities Loading mirror speeds from cached hostfile * base: ftp.nara.wide.ad.jp * centosplus: ftp.nara.wide.ad.jp * extras: ftp.iij.ad.jp * updates: ftp.nara.wide.ad.jp base | 1.1 kB 00:00 centosplus | 1.9 kB 00:00 extras | 1.9 kB 00:00 updates | 1.9 kB 00:00 updates/primary_db | 768 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package mod_ssl.i386 1:2.2.3-65.el5.centos set to be updated --> Processing Dependency: httpd = 2.2.3-65.el5.centos for package: mod_ssl --> Finished Dependency Resolution 1:mod_ssl-2.2.3-65.el5.centos.i386 from updates has depsolving problems --> Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package 1:mod_ssl-2.2.3-65.el5.centos.i386 (updates) Error: Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package 1:mod_ssl-2.2.3-65.el5.centos.i386 (updates) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest [root@www ~]#

関連するQ&A

  • apacheのモジュール関連について

    apacheのモジュール関連について質問です。 phpを組み込んで、外してみたのですが 以下の操作でエラーになる理由が分かりません、どういう現象が起きているのかどなたかご教授いただけると幸いです。 yum install mod_php /etc/httpd/conf.modules.d/10-php.conf が配置される。 rm /etc/httpd/conf.modules.d/10-php.conf 削除したら組み込まれないと思った。。 systemctl restart httpd エラー発生 systemctl status httpd Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration

  • httpd.conf の設定がうまくいきません

    httpd.confの編集をした後httpd configtestのコマンドを打つと Syntax error on line 356 of /etc/httpd/conf/httpd.con 記AllowOverride not allowed here と載されます。 どんな意味か教えていただけませんか?。 もしよかったらトラブルの解決方法も教えて下さい。 以上です、よろしくお願いします。

  • ApacheにおけるSSLモジュールの動作

    以下の環境でssl通信(https)を計画しています。 OS:RedHat Linux AS 4 Web:Apache 2.0 Apache2.0からはsslのモジュールは標準機能だと思っているのですが、 httpd.confに次の様に設定するとエラーとなり、httpdが起動しません。 <VirtualHost *:443> ServerName hogehoge.example.com SSLProxyEngine on    ・    ・    ・ </VirtualHost> エラーの内容: Invalid command 'SSLProxyEngine', perhaps misspelled or defined by a module not included in the server configuration mod_sslがincludeされていないためと考え、httpd.confにmod_ssl.soを追加しましたが、mod_ssl.soが存在しないため、エラーとなり、やっぱり起動できません。 質問内容 (1)Apache 2.0 でSSLProxyEnginディレクティブの正しい定義の仕方を教えてください。 (2)必要であれば、mod_sslを追加で導入する手順について教えてください。  ApacheはDSOサポート環境です。(mod_so.cがあります) よろしくお願いいたします。

  • Webminを使ってWebDAVを動かしたい。

    「RedHatLinux7.3ではじめるWebサーバー入門」と言う本で httpd.confを書き変える場面があるんですが、 DAVLockDB /var/www/mod_dav/DAVLock <Location /> DAV On <LimitExcept GET HEAD OPTIONS> AuthName "WevDAV access" AuthType basic AuthUserFile /var/www/mod_dav/.htpasswd require user webdav_user </LimitExcept> </Location> を最後に追加するよう指示されてるんですが、実際にやって apachectl restart とやると Syntax error on line 1039 of /usr/local/apache/conf/httpd.conf: Invalid command 'DAVLockDB', perhaps mis-spelled or defined by a module not included in the server configuration と怒られてしまいます。 何がいけないのでしょう?

  • PHPのエラーでapacheが起動できない

    教えてください。 Fedora Core4でWebサーバーを構築しているのですが、 httpd.confをコンパイルすると下記エラーが出てしまいます。 ”Syntax error on line6 of /etc/httpd/conf.d/php.conf:Cannot load /etc/httpd/modules/libphp5.so into server:libgmp.so.3: Cannot open shared object file:No such file or directory” /etc/httpd/conf.d/php.confのファイルをロードしないようにすればapacheは起動するのですが、PHPが使えません。 どう対処したらapacheとPHPが両方解決できますか? 宜しくお願いします。

  • httpd.confの編集後は?

    宜しくお願いします。 レンタルVPSサーバー Apache2.2.X系 Apacheは起動していますが、それからが・・・分かりません。。。 Webサイトを公表したいと思っています。 そこで、まず初めにhttpd.confを編集した方が良いとサイトや本で書いているのですが、どうやって編集したら良いのか悩んでいます。 根本的に間違っているかも知れないのですが、自分的にはTeratermを開き、suでroot管理者としてサーバーにアクセスしました。 そして、[root@XXXXXXXXXXX user]# vi /etc/httpd/conf/httpd.conf でhttpd.confを開きました。 色々なサイトや本を参考にhttpd.confの必要な初期設定を行ったのですが、どうやって編集したhttpd.confをサーバーに保存するのか?またapacheを再起動させないと反映されないと書いていたのですが、何時のタイミングで/etc/init.d/httpd restartを実行するのか? ご指導お願い致します。 (1)httpd.confの編集の方法は? (2)編集後にApacheを再起動させるタイミング、方法は?

  • httpd.confのチェックの仕方

    Apache.exeと、httpd.confのフォルダが違うときのWindows コマンドプロンプトを使ってのhttpd.confの構文チェックの仕方を教えてください。 cdを使ってフォルダをあけるまでしか分かっていません。 Apache.exeの場所 C:***\server\apache2\bin httpd.confの場所 C:\***\etc\httpd

    • ベストアンサー
    • PHP
  • サーバーのSSL認証設定について

    SSLを設定しようとしているのですが、インストールが上手くいきません。 環境はOpenSSL + Apacheになります。 証明書は発行済でSSL証明書ファイル、中間証明書ファイル、秘密鍵ファイル は既にサーバーに保存しております。 --(example.comは適当です)----------------------- コモンネーム:www.example.com SSLサーバ証明書ファイル名     wwwexamplecom.crt 中間証明書ファイル名         inter.crt 秘密鍵ファイル名         wwwexamplecom.key SSLサーバ証明書の保存先   /etc/httpd/conf/ssl/crt/ 中間証明書の保存先     /etc/httpd/conf/ssl/crt/ 秘密鍵の保存先       /etc/httpd/conf/ssl/key/ ------------------------------------------------ スペル、保存先に間違いはないことは確認しております。 また、ssl.conf設定ファイルはありません。 サーバー amazon ec2 web server Apache ver2.2.16 【httpd.conf 記載の一部】 <VirtualHost ***.**.***.***> ServerAdmin root@**** DocumentRoot /home/aff3_0/public_html ServerName http://www​.example.com ServerAlias example.com ErrorLog logs/error_log CustomLog logs/access_log combined SSLEngine on SSLCertificateFile /etc/httpd/conf/ssl/crt/wwwexamplecom.crt SSLCACertificateFile /etc/httpd/conf/ssl/crt/inter.crt SSLCertificateKeyFile /etc/httpd/conf/ssl/key/wwwexample.key </VirtualHost> 【エラーメッセージ】 Invalid command 'SSLCertificateFile', perhaps misspelled or defined by a module not included in the server configuration この時点で止まっております。 アドバイスを頂けると有難いです。 足りない情報などがあれば追記します。 宜しくお願い致します。

  • Apache1.3 + mod_layout3.2.1でのエラー

    Apache1.3をソースからインストールし、mod_layout3.2.1のインストールも無事終了したのですが、apache1.3を再起動させて実際にアクセスしてみると、500エラーとなってしまいました。 .htaccessの記述は AddOutputFilter LAYOUT html LayoutHeader /var/www/html/header.html LayoutFooter /var/www/html/footer.html としており、apacheのエラーログには [Wed Jan 17 23:45:00 2007] [alert] [client 192.168.1.5] /var/www/html/.htaccess: Invalid command 'AddOutputFilter', perhaps mis-spelled or defined by a module not included in the server configuration と記録されていました。 mod_layoutのバイナリファイルmod_layout.soはlibexec/mod_layout.soに生成され、このパーミッションもhttpd.confへの記述も正常と思われます。 何が原因で上記のエラーが出てしまうのか、ご教授いただけると幸いです。

  • Apacheでhttpd-ssl.confエラー

    当方、windows7 32bitでwwwサーバを組んでいる超初心者です。 apacheは2.2.25、Active Perlは5.16.3.1で OpenSSLは1_0_1です。、 c/apache softoware Foundation c/perl c/openssl 以上の場所にインストールしています。 http://tako.jugem.cc/?eid=719 ここのサイトの説明通りにやりました。但し、openssl.cfg は c/apache softoware Foundation/apache2.2/conf/sslに入れましたが。 上記のサイトで > openssl req -config openssl.cfg -new -out ./ssl.key/server.csr 色々聞かれるので埋める とあり、色々埋めました。 Apacheのhttpd.confの変更、 httpd-ssl.confの変更も行いました。↓ SSLCertificateFile "C:/Apache Software Foundation/Apache2.2/conf/ssl/server.crt" SSLCertificateKeyFile "C:/Apache Software Foundation/Apache2.2/conf/ssl/server.key" と変更しました。 server.crtファイルも server.keyファイルも上記の場所にあるのですが、 これでapacheを起動すると The requested operation has faild! とエラーメッセージが出てしまいます。 httpd-ssl.confを有効にしなければ、apacheは普通に動いてくれます。 何が足りないのか、私には解りません。 考えうるエラーの原因が思い当たったらご教授願います。