Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Per-virtual domain certificates for IMAP/POP3 (cPanel/WHM servers only) in the VPS & Dedicated forum
INTRODUCTION ------------ This is a PHP script for cPanel/WHM servers. It converts the existing virtual host certificates into courier-imap/pop3 PEM files, which makes it possible ...

  1. #1
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642

    Per-virtual domain certificates for IMAP/POP3 (cPanel/WHM servers only)

    INTRODUCTION
    ------------
    This is a PHP script for cPanel/WHM servers. It converts the existing virtual host certificates into courier-imap/pop3 PEM files, which makes it possible for IMAP and POP3 sessions to use per-virtual host certificates like HTTP does.


    INSTALLATION
    ------------
    First, edit the file updatecerts.php and at the top change the available configuration options. The debug option prints lots of interesting information, while the nochange option allows you to first run the script in test mode, no changes will be made to the system but the script will print what it would have done if the nochange option was set to false. Once you've verified that everything is ok and no errors were produced, change it to true and re-run the script.

    Just run "php ./updatecerts.php" in the current directory as root to execute the script.

    You may execute the script via a cronjob if you want (once a day should be good enough) and the script will maintain a current list of PEM files, since it removes any stale PEM files when a virtual domain has been removed via WHM.


    TODO
    ----
    Looking for a way to do this in Exim as well. If we can get Exim to load separate "tls_certificate" options per-virtual host then we've solved the problem.
    Attached Files Attached Files

  2. #2
    JPC Senior Member
    Join Date
    Apr 2008
    Location
    Festus, MO
    Posts
    81
    Are you looking for a way to provide a secure connection for email sessions with one Cert?

  3. #3
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    Currently, cPanel/WHM allows you to install a certificate per domain (with a dedicated IP address), but that is only installed in apache. Thus, secure connections to POP3/IMAP etc use the shared certificate. So no, i'm not interested to provide one certificate only, i'm doing the exact opposite.

  4. #4
    JPC Member
    Join Date
    May 2009
    Posts
    1

    IMAP/pop and SMTP done

    Here's the thread:

    http://forums.cpanel.net/showthread....121#post424121

    A script would be nice... ;-)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •