1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Default SSL certificate - localhost.localdomain?!

Discussion in 'Plesk for Linux - 8.x and Older' started by albans, Mar 24, 2006.

  1. albans

    albans Regular Pleskian

    26
     
    Joined:
    Nov 29, 2005
    Messages:
    173
    Likes Received:
    0
    Hi,

    I use a shared IP address and I was wondering if it was possible to modify the Plesk default certificate (SSL) used when connecting to https://webmail.domain.com.

    So I tried to add a self-signed certificate with my name, my domainname, etc... Then I deleted the "default certificate" and defined the IP pool on the new self-signed certificate.

    But now, when I connect to https://webmail.domain.com, I got a certificate from SomeOrganization set to localhost.localdomain...

    What's wrong? How can I force the use of the self-signed certificate instead of this "SomeOrganization"'s one?

    Thanks.
     
  2. albans

    albans Regular Pleskian

    26
     
    Joined:
    Nov 29, 2005
    Messages:
    173
    Likes Received:
    0
    I found a solution, thanks to the SWSoft support!

    -------------------------------------------
    Edit /etc/httpd/conf.d/ssl.conf and comment out (or remove) _default_ virtualhost definitions there, from

    <VirtualHost _default_:443>
    to
    </VirtualHost>

    Then stop and start apache (not restart!).

    localhost.localdomain certificate is a fake cert from mod_ssl apache RPM and RedHat adds it into config such way that it comes before all the others.
    -------------------------------------------
     
Loading...