{"id":233,"date":"2011-08-15T16:36:58","date_gmt":"2011-08-15T14:36:58","guid":{"rendered":"http:\/\/diablo.craem.net\/wordpress\/?p=233"},"modified":"2011-08-15T16:36:58","modified_gmt":"2011-08-15T14:36:58","slug":"migrando-exchange-2010-a-zarafa-parte-7","status":"publish","type":"post","link":"https:\/\/diablo.craem.net\/?p=233","title":{"rendered":"Migrando Exchange 2010 a Zarafa, parte 7"},"content":{"rendered":"<p>Ahora toca a\u00f1adir SSL al webaccess.<br \/>\nPrimero, vamos al servidor y a\u00f1adimos los siguientes directorios con los permisos:<br \/>\n<code><br \/>\n# mkdir \/etc\/apache2\/certs<br \/>\n# chmod 700 \/etc\/apache2\/certs<br \/>\n# cd \/etc\/apache2\/certs<br \/>\n<\/code><br \/>\nGeneramos el certificado:<br \/>\n<code><br \/>\nopenssl req -nodes -newkey rsa:2048 -keyout zarafa-ssl.key -out zarafa-ssl.csr<br \/>\n<\/code><br \/>\nY respondemos a las preguntas&#8230;.<br \/>\nVemos si se ha generado el certificado&#8230;<br \/>\n<code>cat \/etc\/apache2\/certs\/zarafa-ssl.key<\/code><br \/>\nFirmamos el certificado:<br \/>\n<code><br \/>\nopenssl x509 -req -in zarafa-ssl.csr -signkey zarafa-ssl.key -out zarafa-ssl.crt -days 9999<br \/>\n<\/code\nHabilitamos el soporte ssl en el apache:\n<code><br \/>\nroot@zeus#a2enmod ssl<br \/>\n<\/code><br \/>\nHabilitamos el SSL en el webaccess de zarafa:<br \/>\n<code><br \/>\nroot@zeus#nano \/etc\/apache2\/sites-available\/zarafa-webaccess<br \/>\nY a\u00f1adimos al final del fichero..<br \/>\n<virtualHost *:443><br \/>\n        SSLEngine On<br \/>\n        SSLCertificateFile \/etc\/apache2\/certs\/zarafa-ssl.crt<br \/>\n        SSLCertificateKeyFile \/etc\/apache2\/certs\/zarafa-ssl.key<br \/>\n<\/virtualHost><br \/>\n<\/code><br \/>\nReiniciamos el apache y listo &#8230;<br \/>\n<code><br \/>\n\/etc\/init.d\/apache2 restart<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ahora toca a\u00f1adir SSL al webaccess. Primero, vamos al servidor y a\u00f1adimos los siguientes directorios con los permisos: # mkdir \/etc\/apache2\/certs # chmod 700 \/etc\/apache2\/certs # cd \/etc\/apache2\/certs Generamos el certificado: openssl req -nodes -newkey rsa:2048 -keyout zarafa-ssl.key -out zarafa-ssl.csr Y respondemos a las preguntas&#8230;. Vemos si se ha generado el certificado&#8230; cat \/etc\/apache2\/certs\/zarafa-ssl.key Firmamos [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[58,70,102,106,134,201],"class_list":["post-233","post","type-post","status-publish","format-standard","hentry","category-linux","tag-debian","tag-exchange","tag-linux-2","tag-migrar-exchange-a-zarafa","tag-openldap","tag-zarafa"],"_links":{"self":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=233"}],"version-history":[{"count":0,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/233\/revisions"}],"wp:attachment":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}