{"id":2804,"date":"2013-12-04T09:59:26","date_gmt":"2013-12-04T15:59:26","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=2804"},"modified":"2022-12-19T07:00:18","modified_gmt":"2022-12-19T13:00:18","slug":"set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/","title":{"rendered":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft size-medium wp-image-2807\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache-300x199.jpg\" alt=\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache\" width=\"300\" height=\"199\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache-300x199.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg 460w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> This article is <strong>part 3<\/strong> of our <strong>part 1<\/strong> <a title=\"Mailserver with virtual users and domains using Postfix and Dovecot\" href=\"https:\/\/www.rosehosting.com\/blog\/mailserver-with-virtual-users-and-domains-using-postfix-and-dovecot-on-a-centos-6-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">mailserver set-up with virtual users and domains using Postfix and Dovecot<\/a> on a <a title=\"CentOS VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 6 VPS<\/a> and <strong>part 2 <\/strong>which explains <a title=\"Permalink to Install and set-up Roundcube webmail interface\" href=\"https:\/\/www.rosehosting.com\/blog\/install-and-set-up-roundcube-webmail-interface\/\" target=\"_blank\" rel=\"bookmark noopener noreferrer\">how to install and set-up the Roundcube webmail interface<\/a><\/p>\n<p>The following post will show you <strong>how to set-up SSL encrypted connection<\/strong> to our mailserver installation.<\/p>\n<p>At the end of this article you will end-up using <strong>IMAP\/POP3 over SSL<\/strong> (<strong>IMAPs<\/strong>\/<strong>POP3s<\/strong>) <strong>SMTP over SSL<\/strong> (<strong>SMTPs<\/strong>) and <strong>Roundcube Webmail over SSL<\/strong> (<strong>HTTPS<\/strong>)<\/p>\n<p><!--more--><\/p>\n<h3><strong>UPDATE THE SYSTEM<\/strong><\/h3>\n<p>As always, make sure your <strong>CentOS 6<\/strong> <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> is fully up to date by executing:<\/p>\n<pre>## screen -U -S ssl-screen\r\n## yum update<\/pre>\n<h3>SET-UP SSL CERTIFICATE, KEY AND CSR<\/h3>\n<p>Next thing we are going to do, is to set-up the SSL certificate file and key. Do this by executing the following:<\/p>\n<pre>## yum install openssl<\/pre>\n<pre>## mkdir -p ~\/ssl\/mydomain.com\r\n## cd ~\/ssl\/mydomain.com\r\n## openssl genrsa -des3 -out mydomain.com.key 2048\r\n## openssl req -new -key mydomain.com.key -out mydomain.com.csr\r\n## openssl x509 -req -days 365 -in mydomain.com.csr -signkey mydomain.com.key -out mydomain.com.crt\r\n## cp mydomain.com.key{,.orig}\r\n## openssl rsa -in mydomain.com.key.orig -out mydomain.com.key\r\n## chmod 400 mydomain.com.key\r\n\r\n## cp mydomain.com.crt \/etc\/pki\/tls\/certs\r\n## cp mydomain.com.{key,csr} \/etc\/pki\/tls\/private\/<\/pre>\n<hr \/>\n<h3><strong>SET-UP WEBMAIL OVER SSL<\/strong><\/h3>\n<p>In order to have your <strong>Roundcube webmail<\/strong> system accessible <strong>over SSL encrypted connection<\/strong> you will need to set-up <strong>Apache&#8217;s mod_ssl interface to openssl<\/strong> by running the following commands:<\/p>\n<pre>## yum install mod_ssl\r\n## vim +\/SSLCertificateFile \/etc\/httpd\/conf.d\/ssl.conf<\/pre>\n<p>set the paths to the SSL certificate and private key<\/p>\n<pre>SSLCertificateFile \/etc\/pki\/tls\/certs\/mydomain.com.crt\r\nSSLCertificateKeyFile \/etc\/pki\/tls\/private\/mydomain.com.key<\/pre>\n<p>force SSL encrypted connection when accessing mydomain.com\/webmail:<\/p>\n<pre>## vim \/etc\/httpd\/conf.d\/90-roundcube.conf<\/pre>\n<p>add the following:<\/p>\n<pre>RewriteEngine On\r\nRewriteCond %{HTTPS} !=on\r\nRewriteRule ^\/?webmail\/(.*) https:\/\/%{SERVER_NAME}\/webmail\/$1 [R,L]<\/pre>\n<p>finally, restart Apache for the changes to take effect and try to access http:\/\/mydomain.com\/webmail<\/p>\n<pre>## service httpd restart<\/pre>\n<hr \/>\n<h3><strong>SET-UP IMAP\/POP3 OVER SSL<\/strong><\/h3>\n<p>In order to enable <strong>IMAPs<\/strong> and <strong>POP3s<\/strong>, you need to edit dovecot main configuration file (<code>\/etc\/dovecot\/dovecot.conf<\/code>) and add\/edit the following:<\/p>\n<pre>protocols = imap pop3\r\n\r\nssl = yes\r\nssl_cert = &lt;\/etc\/pki\/tls\/certs\/mydomain.com.crt\r\nssl_key = &lt;\/etc\/pki\/tls\/private\/mydomain.com.key<\/pre>\n<p>restart dovecot for the changes to take effect and verify it&#8217;s listening on its SSL ports using:<\/p>\n<pre>## service dovecot restart\r\n## ss -tpl | grep -E 'imaps|pop3s'\r\nLISTEN  0  0  *:imaps *:* users:((\"dovecot\",1955,22))\r\nLISTEN  0  0  *:pop3s *:* users:((\"dovecot\",1955,18))<\/pre>\n<p>to test IMAPs or POP3s, simply set your email client to use the SSL port, for example for IMAPs 993 and for POP3s 995 and try to receive an email.<\/p>\n<hr \/>\n<h3><strong>SET-UP SMTP over SSL<\/strong><\/h3>\n<p>To enable SSL support in Postfix so you can send emails using SMTP over SSL, you need to edit two Postfix configuration files. Start with editing <code>\/etc\/postfix\/main.cf<\/code> and add the following:<\/p>\n<pre>## vim \/etc\/postfix\/main.cf<\/pre>\n<pre>smtpd_use_tls = yes\r\nsmtpd_tls_key_file  = \/etc\/pki\/tls\/private\/mydomain.com.key\r\nsmtpd_tls_cert_file = \/etc\/pki\/tls\/certs\/mydomain.com.crt\r\n\r\nsmtpd_tls_loglevel = 3\r\nsmtpd_tls_received_header = yes\r\nsmtpd_tls_session_cache_timeout = 3600s\r\ntls_random_source = dev:\/dev\/urandom<\/pre>\n<p>then edit <code>\/etc\/postfix\/master.cf<\/code> and make sure the following line is not commented:<\/p>\n<pre>## vim +\/smtps \/etc\/postfix\/master.cf<\/pre>\n<pre>smtps     inet  n       -       n       -       -       smtpd\r\n  -o smtpd_tls_wrappermode=yes\r\n  -o smtpd_sasl_auth_enable=yes<\/pre>\n<p>restart Postfix for the change to take effect and verify it is listening on its SSL port using:<\/p>\n<pre>## service postfix restart\r\n\r\n## ss -tnpl | grep 465\r\nLISTEN 0 0  *:465 *:* users:((\"master\",2119,19))<\/pre>\n<p>test SMTPs by setting up your email client to use outgoing port 465.<\/p>\n<hr \/>\n<p>Implementing <strong>SSL encrypted connections<\/strong> to the <a title=\"Mailserver with virtual users and domains using Postfix and Dovecot on a CentOS 6 VPS\" href=\"https:\/\/www.rosehosting.com\/blog\/mailserver-with-virtual-users-and-domains-using-postfix-and-dovecot-on-a-centos-6-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">mailserver set-up with virtual users and domains using Postfix and Dovecot<\/a> and to the <a title=\"Install and set-up Roundcube webmail interface\" href=\"https:\/\/www.rosehosting.com\/blog\/install-and-set-up-roundcube-webmail-interface\/\" target=\"_blank\" rel=\"noopener noreferrer\">Roundcube webmail interface<\/a> on a <a title=\"CentOS VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS VPS<\/a> provide you SSL encrypted connection for outbound and inbound emails.<\/p>\n<p>However, there are other parts missing like anti-spam service, digital signatures using opendkim, filter rules etc for a full-featured mail server. In the next few related articles, we will be adding additional features to the set-up so stay tuned.<\/p>\n<p>Update: <a title=\"How to install and integrate SpamAssassin with Postfix on a CentOS 6 VPS\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-spamassassin-with-postfix-on-a-centos-6-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">Part 4 &#8211; How to install and integrate SpamAssassin with Postfix on a CentOS 6 VPS<\/a><\/p>\n<p>Update: <a title=\"How to install and integrate OpenDKIM with Postfix on a CentOS 6 VPS\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">Part 5 &#8211; How to install and integrate OpenDKIM with Postfix on a CentOS 6 VPS<\/a><\/p>\n<p>Update: <a title=\"How to set-up server-side email filtering with Dovecot Sieve and Roundcube on a CentOS 6 VPS\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-set-up-server-side-email-filtering-with-dovecot-sieve-and-roundcube-on-a-centos-6-vps\/\" target=\"_blank\" rel=\"noopener noreferrer\">Part 6 &#8211; How to set-up server-side email filtering with Dovecot Sieve and Roundcube on a CentOS 6 VPS<\/a><\/p>\n<hr \/>\n<p>Of course, if you are one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> customers, you don\u2019t have to do any of this, simply ask our admins, sit back and relax. Our admins will set this up for you immediately.<\/p>\n<p><strong>PS.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is part 3 of our part 1 mailserver set-up with virtual users and domains using Postfix and Dovecot &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#more-2804\" aria-label=\"Read more about Set-up SSL encrypted connection in Postfix, Dovecot and Apache\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":2807,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1706,1703,13,1707],"tags":[37,71,344,72,220,74],"class_list":["post-2804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email-servers","category-security","category-tutorials","category-web-servers","tag-apache","tag-dovecot","tag-encryption","tag-openssl","tag-postfix","tag-ssl","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting<\/title>\n<meta name=\"description\" content=\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache\" \/>\n<meta property=\"og:description\" content=\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2013-12-04T15:59:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-19T13:00:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"460\" \/>\n\t<meta property=\"og:image:height\" content=\"306\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache\",\"datePublished\":\"2013-12-04T15:59:26+00:00\",\"dateModified\":\"2022-12-19T13:00:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/\"},\"wordCount\":546,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg\",\"keywords\":[\"apache\",\"Dovecot\",\"encryption\",\"OpenSSL\",\"postfix\",\"ssl\"],\"articleSection\":[\"Email Servers\",\"Security\",\"Tutorials\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/\",\"name\":\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg\",\"datePublished\":\"2013-12-04T15:59:26+00:00\",\"dateModified\":\"2022-12-19T13:00:18+00:00\",\"description\":\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg\",\"width\":460,\"height\":306,\"caption\":\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set-up SSL encrypted connection in Postfix, Dovecot and Apache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting","description":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/","og_locale":"en_US","og_type":"article","og_title":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache","og_description":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2013-12-04T15:59:26+00:00","article_modified_time":"2022-12-19T13:00:18+00:00","og_image":[{"width":460,"height":306,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache","datePublished":"2013-12-04T15:59:26+00:00","dateModified":"2022-12-19T13:00:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/"},"wordCount":546,"commentCount":10,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg","keywords":["apache","Dovecot","encryption","OpenSSL","postfix","ssl"],"articleSection":["Email Servers","Security","Tutorials","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/","url":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/","name":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg","datePublished":"2013-12-04T15:59:26+00:00","dateModified":"2022-12-19T13:00:18+00:00","description":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/11\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache.jpg","width":460,"height":306,"caption":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Set-up SSL encrypted connection in Postfix, Dovecot and Apache"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2804"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2804\/revisions"}],"predecessor-version":[{"id":44412,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2804\/revisions\/44412"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/2807"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}