0
私自身のクラウド9のインストールで自己署名証明書SSLを設定しようとしています。 .confファイルを更新してURLの先頭にhttpsを追加すると、「このサイトには到達できません」というエラーが表示されます。私は何かがApacheのSSL設定で間違っていると推測していますが、何が分かりません。Owncloud SSLセットアップ
私は私のconfファイルを用意しましたFedora24とOwncloud9
を実行していますよ。
する/etc/httpd/conf.d/ssl.conf
Listen 443 https
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
SSLSessionCache shmcb:/run/httpd/sslcache(512000)
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
DocumentRoot "/var/www/mywebsite/html"
ServerName mywebsite.com:443
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite PROFILE=SYSTEM
SSLProxyCipherSuite PROFILE=SYSTEM
SSLCertificateFile /etc/pki/tls/certs/mywebsite.com.pem
SSLCertificateKeyFile /etc/pki/tls/certs/mywebsite.com.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-5]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a
# compact non-error SSL logfile on a virtual host basis.
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
/etc/httpd/conf.d/mywebsite.conf
<VirtualHost *:443>
SSLEngine on
ServerAdmin [email protected]
ServerName mywebsite
ServerAlias mywebsite.com
DocumentRoot /var/www/mywebsite/html
<Directory /var/www/mywebsite/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
SSLCertificateFile /etc/pki/tls/certs/mywebsite.com.pem
SSLCertificateKeyFile /etc/pki/tls/certs/mywebsite.com.key
</VirtualHost>
の/ etc/httpd/conf/httpd.conf
本当に無料のLetsEncrypt証明書ではなく、迷惑な自己署名証明書を使用したいのですが? – arkascha