Categories
linux

GPG error owncloud

Pernah dapat error ni?

All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.owncloud.org/download/repositories/production/Debian_9.0 Release: The following signatures were invalid: EXPKEYSIG 47AE7F72479BC94B ownCloud build service
W: Failed to fetch http://download.owncloud.org/download/repositories/production/Debian_9.0/Release.gpg The following signatures were invalid: EXPKEYSIG 47AE7F72479BC94B ownCloud build service
W: Some index files failed to download. They have been ignored, or old ones used instead.

Senang je

wget -nv https://download.owncloud.org/download/repositories/production/Debian_9.0/Release.key -O Release.key
2019-03-20 00:40:43 URL:https://download.owncloud.org/download/repositories/production/Debian_9.0/Release.key [4485/4485] -> "Release.key" [1]

apt-key add - < Release.key OK

Categories
perisian

Kemaskini owncloud pada Debian 8

  1. Setelah apt upgrade, tukar direktori ke /var/www/owncloud

    cd /var/www/owncloud/

  2. Kemaskini dilakukan sebagai pengguna service http www-data

    sudo -u www-data php occ status
    sudo -u www-data php occ upgrade

Siap.

Categories
internet linux pemasangan

SSL Owncloud 8.0 pada Debian 7

Buatkan CSR dengan openssl dari PC anda.

openssl genrsa -des3 -out owncloud_domain_com.key 2048
openssl req -new -key owncloud_domain_com.key -out owncloud_domain_com.csr

Setelah memuatnaik CSR dan dapat zip file dari COMODO, unzip, kemudian buatkan chain certificate.

cat COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt >> bundle.crt

Uji self-sign ssl terlebih dahulu.

a2enmod ssl
a2ensite default-ssl
service apache2 restart

Jika OK, teruskan:

Muatnaik bundle.crt ke /etc/apache2/ssl.crt/

Muatnaik owncloud_domain_com.key ke /etc/ssl/private/

Muatnaik owncloud_domain_com.crt ke /etc/ssl/certs/

Contoh yang diubah pada /etc/sites-enabled/default-ssl

SSLCertificateFile /etc/ssl/certs/owncloud_domain_com.crt
SSLCertificateKeyFile /etc/ssl/private/owncloud_domain_com.key
SSLCertificateChainFile /etc/apache2/ssl.crt/bundle.crt

Tambah juga tetapan berikut untuk melumpuhkan POODLE

SSLProtocol All -SSLv2 -SSLv3

Mulakan semula apache2

service apache2 restart