Feeds:
Posts
Comments

Archive for the ‘Linux’ Category

Lets Encrypt Zimbra 8.6

# Zimbra 8.6 #
su – zimbra -c ‘zmmailboxdctl stop’
  • Install git on the Server (apt-get install git/yum install git), and then do a git clone of the project on the folder we want
    • Note: On RedHat/CentOS 6 you will need to enable the EPEL repository before install.

NEW
cd /letsencrypt
./letsencrypt-auto certonly
RENEWAL
cd /letsencrypt
./letsencrypt-auto renew
# choose option for Spin up a temporary webserver (standalone), then list the domain names you are obtaining or renewing certs for
cd /etc/letsencrypt/live/mail.example.com
nano chain.pem
# append missing part
-----BEGIN CERTIFICATE-----
MIIDSjCCAjKgAwIBAgIQRK+wgNajJ7qJMDmGLvhAazANBgkqhkiG9w0BAQUFADA/
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
DkRTVCBSb290IENBIFgzMB4XDTAwMDkzMDIxMTIxOVoXDTIxMDkzMDE0MDExNVow
PzEkMCIGA1UEChMbRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QgQ28uMRcwFQYDVQQD
Ew5EU1QgUm9vdCBDQSBYMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
AN+v6ZdQCINXtMxiZfaQguzH0yxrMMpb7NnDfcdAwRgUi+DoM3ZJKuM/IUmTrE4O
rz5Iy2Xu/NMhD2XSKtkyj4zl93ewEnu1lcCJo6m67XMuegwGMoOifooUMM0RoOEq
OLl5CjH9UL2AZd+3UWODyOKIYepLYYHsUmu5ouJLGiifSKOeDNoJjj4XLh7dIN9b
xiqKqy69cK3FCxolkHRyxXtqqzTWMIn/5WgTe1QLyNau7Fqckh49ZLOMxt+/yUFw
7BZy1SbsOFU5Q9D8/RhcQPGX69Wam40dutolucbY38EVAjqr2m7xPi71XAicPNaD
aeQQmxkqtilX4+U9m5/wAl0CAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNV
HQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMSnsaR7LHH62+FLkHX/xBVghYkQMA0GCSqG
SIb3DQEBBQUAA4IBAQCjGiybFwBcqR7uKGY3Or+Dxz9LwwmglSBd49lZRNI+DT69
ikugdB/OEIKcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXr
AvHRAosZy5Q6XkjEGB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZz
R8srzJmwN0jP41ZL9c8PDHIyh8bwRLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5
JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubSfZGL+T0yjWW06XyxV3bqxbYo
Ob8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ
-----END CERTIFICATE-----
cp * /opt/zimbra/ssl/letsencrypt/
chown zimbra:zimbra /opt/zimbra/ssl/letsencrypt/*
#as root user on zimbra 8.6 
cd /opt/zimbra/ssl/letsencrypt/
/opt/zimbra/bin/zmcertmgr verifycrt comm privkey.pem cert.pem chain.pem
cp -a /opt/zimbra/ssl/zimbra /opt/zimbra/ssl/zimbra.$(date “+%Y%m%d”)
cp /opt/zimbra/ssl/letsencrypt/privkey.pem /opt/zimbra/ssl/zimbra/commercial/commercial.key
/opt/zimbra/bin/zmcertmgr deploycrt comm cert.pem chain.pem
su – zimbra -c ‘zmmailboxdctl start’
Advertisements

Read Full Post »

Zimbra Collaboration Suite is an enterprise-class open source email, calendar and collaboration server. With the most innovative web application available today, Zimbra boosts the productivity of users on any desktop and dramatically reduces TCO compared to legacy platform vendors.

Other key advantages include advanced compatibility with existing desktop email clients, over-the-air sync to smartphones (iPhone, Android, BlackBerry) as well as better server scalability and more efficient administration.

Check out setup instructions after the break …

Read Full Post »

Squid and dansguardian is a great open source webfiltering solution. It works as a transparent proxy so you have to redirect http traffic to the proxy sever using browser settings or your network firewall/router. You can also operate as a transparent proxy by making te squid server your network gateway so all traffic goes through it to the outside web.

Check out setup instructions after the break …

Read Full Post »

Technically Speaking: Installing Webmin on CentOs 5.

The above link will show you how to install webmin on centos 5.x.Dont forget to go to their website and choose the latest RPM for the install

What is Webmin?

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. See the standard modules page for a list of all the functions built into Webmin, or check out the screenshots.

Read Full Post »

How can I install the packages from the EPEL software repository?

There are repository rpm packages for RHEL4 and RHEL5 . The repository package installs the repo details on your local system for yum or up2date to use. Then you can install packages with your usual method, and the EPEL repository is included.

So for CentOS 5.3

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
...
yum install foo

Read Full Post »

I just posted some info on getting centos ds up and running with samba. this will allow you to simulate a windows pdc. with a few add ons you can really implement a complete solution for your environment.

I began with Fedora DS, but found that it wasnt as stable as i would have liked for a production environment. i will post my HowTo for Fedora setups anyway if anyone wants to give them a try.

Here is a link to the guide: CentOS Directory Server

Read Full Post »

Just posted a guide to installing and openLDAP samba domain controller for Ubuntu 8.10. i will update it in the near future with details on TLS and Kerberos, and maybe some windows server integration.

Here is a Link to the guide: OpenLDAP Samba Domain Controller

Read Full Post »