关键词:
【中文标题】Owncloud SSL 设置【英文标题】:Owncloud SSL Setup 【发布时间】:2017-04-29 09:07:35 【问题描述】:我正在尝试在我的 owncloud 9 安装上设置自签名证书 SSL。更新我的 .conf 文件并在我的网址前面添加 https 后,我收到“无法访问此站点”错误。我猜我在 apache 中的 SSL 设置有问题,但我不知道是什么。
我正在运行 Fedora24 和 Owncloud9
我已经包含了我的 conf 文件。
/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_PROTOCOLx %SSL_CIPHERx \"%r\" %b"
</VirtualHost>
/etc/httpd/conf.d/mywebsite.conf
<VirtualHost *:443>
SSLEngine on
ServerAdmin admin@localhost
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
ServerRoot "/etc/httpd"
Listen 80
Include conf.modules.d/*.conf
User apache
Group apache
ServerAdmin root@localhost
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/var/www"
<Directory "/var/www">
AllowOverride None
Require all granted
</Directory>
<Directory "/var/www">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<Files ".ht*">
Require all denied
</Files>
ErrorLog "logs/error_log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%Refereri\" \"%User-Agenti\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%Refereri\" \"%User-Agenti\" %I %O" combinedio
</IfModule>
CustomLog "logs/access_log" combined
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule mime_module>
TypesConfig /etc/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
AddDefaultCharset UTF-8
<IfModule mime_magic_module>
MIMEMagicFile conf/magic
</IfModule>
#EnableMMAP off
EnableSendfile on
# Supplemental configuration
#
# Load config files in the "/etc/httpd/conf.d" directory, if any.
IncludeOptional conf.d/*.conf
【问题讨论】:
为什么要使用烦人的自签名证书而不是真正免费的有效 LetsEncrypt 证书? 【参考方案1】:aaaaand,恭喜我自己意识到我的路由器上阻止了端口 443。 谢谢大家。
【讨论】:
如何在centos7安装和配置owncloud
...使用sudo权限的用户CentOS7初始服务器设置指南。LAMP环境:ownCloud需要Web服务器,数据库和PHP才能正常工作。设置LAMP(Linux,Apache,MySQL和PHP)服务器满足所有这些要求。按照本指南安装和配置这个软件。要充分利用一切ownCloud所提供... 查看详情
在 nginx 上设置 rutorrent 和 owncloud
】在nginx上设置rutorrent和owncloud【英文标题】:Settinguprutorrentandowncloudonnginx【发布时间】:2014-09-2509:58:47【问题描述】:我搜索了整个网络,但显然没有人发布我正在寻找的配置。我目前正在VM上测试我想成为我的服务器配置的3... 查看详情
求助ksweb中安装owncloud语言设置问题
第一步:预装软件。ownCloud内核是用PHP5写的,支持SQLite、MySQL、Oracle以及PostgreSQL等数据库。为了简单,我们将用MySQL数据库。在你的Linux系统下你需要安装以下软件:PHP安装包:php5,php5-gd,php-xml-parser,php5-intl数据库驱动:php5-mysql(... 查看详情
利用owncloud搭建个人同步网盘
...ackages—>Continue->Ubuntu可以看到多个版本的安装方法,owncloud分为owncloud与owncloud-files,owncloud包含Apache2/MySQL/PHP等工具,owncloud-files只有owncloud软件。安装过程中输入SQL密码安装完成后,在客户端浏览器输入http://ServerIP/owncloud进行... 查看详情
求助ksweb中安装owncloud语言设置问题
参考技术A第一步:预装软件。ownCloud内核是用PHP5写的,支持SQLite、MySQL、Oracle以及PostgreSQL等数据库。为了简单,我们将用MySQL数据库。在你的Linux系统下你需要安装以下软件:PHP安装包:php5,php5-gd,php-xml-parser,php5-intl数据库驱动:... 查看详情
centos7怎样安装owncloud7私有云
...rvermariadbsqlitephp-domphp-mbstringphp-gdphp-pdowgetvim设置SELinux允许owncloud写数据:setsebool-Phttpd_unified1防火墙设置:firewall-cmd--permanent--zone=public--add-service=httpfirewall-cmd--permanent--zone=public--add-service=httpsfirewall-cmd--reload使用下面的命令启动Apache... 查看详情
openmediavault的owncloud扩展不支持ntfs格式硬盘
来源https://forum.openmediavault.org/index.php/Thread/15510-OwnCloud-Operation-not-supported-setfacl/在OpenMediaVault上可以正常安装成功OwnCloud扩展,但是在设置ownClound共享目录时提示类似以下内容:Failedtoexecutecommand‘exportLANG=C;se 查看详情
centos7怎样安装owncloud7私有云
...mariadbsqlitephp-domphp-mbstringphp-gdphp-pdowgetvim3、设置SELinux允许owncloud写数据:setsebool-Phttpd_unified14、防火墙设置:firewall-cmd--permanent--zone=public--add-service=httpfirewall-cmd--permanent--zone=public--add-service=httpsfirewall-cmd--reload5、使用下面的命令启... 查看详情
使用owncloud搭建自己的云盘(代码片段)
使用OwnCloud搭建自己的云盘1.用途ownCloud是一款开源的私有云框架,可以通过它实现个人网盘的功能,ownCloud提供了各个平台的文件同步客户端,因此搭建好ownCloud之后即可使用客户端来同步、上传、下载文件,十分方便。 2.安... 查看详情
以编程方式将文件上传到 ownCloud 服务器
】以编程方式将文件上传到ownCloud服务器【英文标题】:UploadingfilestoanownCloudserverprogrammatically【发布时间】:2014-09-0515:31:00【问题描述】:我正在尝试设置一个Web应用程序,其中许多客户端可以通过Node.jshttp服务器进行连接,然... 查看详情
docker下搭建owncloud
在ubuntu下搭建owncloud用docker-compose启动,owncloud.yml文件内容owncloud:image:owncloud:9restart:always开机启动links:-mysql:mysql连接到mysqlvolumes:-/srv/docker/owncloud:/owncloudports:-10280:80mysql:image:mysql:5.7rest 查看详情
centos7怎样安装owncloud7私有云
参考技术A初始设置安装CentOS7默认最小配置然后安装目前所有的更新:yum-yupdate接下来,我们需要安装PHP,ApacheWeb服务器和MySQL服务器和PHP扩展:yuminstallhttpdphpphp-mysqlmariadb-servermariadbsqlitephp-domphp-mbstringphp-gd 参考技术BCentOS7怎样 查看详情
centos6.9搭建owncloud私有云盘
本文主要介绍在lamp环境下快速安装和部署owncloud私有云盘基本流程: 1.owncloud简介 2.yum部署lamp环境 3.下载owncloud 软件包并且安装 4.测试owncloud是否正常使用流程一:owncloud简介 ownCloud是是一款... 查看详情
红帽7用owncloud搭建私有云
昨天刚在自己的云服务器上搭建了owncloud10,所有在这里做了一下笔记,防止以后忘记。搭owncloud的环境是LAMP(HTTP+PHP+MARIADB)在搭建环境之前,搭建之前大家先了解一下什么是owncloud10owncloud官方:https://owncloud.org/650)this.width=650;"src="h... 查看详情
owncloud开源网盘
https://www.getnas.com/freenas-owncloud/FreeNAS插件:OwnCloud开源网盘ownCloud分为服务器端和客户端两个部分,服务器端可以在FreeNAS上安装插件轻松构建。可通过浏览器访问,也可以安装专用的客户端软件来使用。客户端软件支持几乎所有... 查看详情
owncloud添加信任域(代码片段)
如果在安装ownCloud后,更换了访问方式,比如刚开始是http://127.0.0.1/owncloud,变成了http://1.1.1.1/owncloud,那么在访问时可能得到这样的页面:您正在访问来自不信任域名的服务器。Pleasecontactyouradministrator.Ifyouareanadministratorofthisinstanc... 查看详情
搭建开源存储owncloud环境
搭建开源存储owncloud环境记一次部署开源私有存储owncloud环境一次过,此外下载PC端和手机端,别人都帮你做好了直接开用。环境centos7apachemysqlphp5.6准备工作centos7owncloud-10.0.7.zip关闭防火墙systemctlstopfirewalldsystemctldisablefirewalld关闭se... 查看详情
搭建owncloud(代码片段)
...有:Seafile:国内团队开发的一个国际化开源云存储项目ownCloud:开源专业的私有云存储项目另外,可以多去关注下 nextcloud 项目,据说 ownCloud 母公司破产后,原项目组的骨干出走并以 ownCloud 项目 folk&nbs... 查看详情