Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-16-2010, 05:46 AM
Loyal Member
 
Posts: 85
Default Self-signed cert. created/deployed but can't connect in browser

Hi

I have created a self-signed cert as per this wiki page.

Everything went fine, w/o error but when trying to connect via the browser, it complains that it is unable to connect. No errors given in broswer. This is internal so no firewall issues. I have restarted zimbra.

Am I missing something? Is the url more than just https://<server_ip> ?

The admin console loads via https just fine. Not sure if this is using same cert.

Regards,
Scott

Last edited by strafford; 11-16-2010 at 06:00 AM..
Reply With Quote
  #2 (permalink)  
Old 11-16-2010, 06:02 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by strafford View Post
I have created a self-signed cert as per this wiki page.

Everything went fine, w/o error but when trying to connect via the browser, it complains that it is unable to connect. No errors given in broswer. This is internal so no firewall issues. I have restarted zimbra.
You should see a warning about the Certificate, try clearing the browser cache and if that doesn't work the delete the old certificate from your browser and try again.

Quote:
Originally Posted by strafford View Post
Am I missing something? Is the url more than just https://<server_ip> ?
Yes, the format is actually: https://<fqdn.of.yourserver> - you should not be connecting via the IP address.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-16-2010, 06:33 AM
Loyal Member
 
Posts: 85
Default

Bill

Thanks for the reply. I cleared out my cache, but no change. Still get:
Code:
Unable to connect

Firefox can't establish a connection to the server at <local_ip>
Quote:
Originally Posted by phoenix View Post
You should see a warning about the Certificate, try clearing the browser cache and if that doesn't work the delete the old certificate from your browser and try again.
There was one there (probably from the admin console access) but no change.

Quote:
Originally Posted by phoenix View Post
Yes, the format is actually: https://<fqdn.of.yourserver> - you should not be connecting via the IP address.
This is a fake fqdn. I added it to my hosts file but that did not make a difference (I would imagine this would only help get rid of the ssl cert. domian name warnings though I am no expert here).


One thing to note (not sure if its relevant) but in Firefox, under the certificate manager, in the 'Servers' tab, there is a set of certs for 'Zimbra Collaboration Suite', and under that are two certs. First one is for fqdn, and local ip w/ port 443, and expires 12/04/2011 (this is strange since this was a new install last week). Second cert is also for fqdn, local ip and port 7071 for the admin console, with expiry of 15/11/2011 (which is correct, since I recreated it yesterday).
Reply With Quote
  #4 (permalink)  
Old 11-16-2010, 06:48 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by strafford View Post
Bill

Thanks for the reply. I cleared out my cache, but no change. Still get:
Code:
Unable to connect

Firefox can't establish a connection to the server at <local_ip>

There was one there (probably from the admin console access) but no change.
Can you telnet to the server on port 443?


Quote:
Originally Posted by strafford View Post
This is a fake fqdn. I added it to my hosts file but that did not make a difference (I would imagine this would only help get rid of the ssl cert. domian name warnings though I am no expert here).
You should remove the FQDN from your hosts file and create DNS & A records for the domain and point it to the server.


Quote:
Originally Posted by strafford View Post
One thing to note (not sure if its relevant) but in Firefox, under the certificate manager, in the 'Servers' tab, there is a set of certs for 'Zimbra Collaboration Suite', and under that are two certs. First one is for fqdn, and local ip w/ port 443, and expires 12/04/2011 (this is strange since this was a new install last week). Second cert is also for fqdn, local ip and port 7071 for the admin console, with expiry of 15/11/2011 (which is correct, since I recreated it yesterday).
Just remove all of the certificates and then you should get the request to confirm the certificate when you connect.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-16-2010, 07:00 AM
Loyal Member
 
Posts: 85
Default

Sorry, but I meant my windows hosts file. I have properly setup the fake fqdn. Is resolves, dnslookup works, etc.

I did remove the cert., but there was no change.

-Scott
Reply With Quote
  #6 (permalink)  
Old 11-16-2010, 07:05 AM
Loyal Member
 
Posts: 85
Default

Quote:
Originally Posted by phoenix View Post
Can you telnet to the server on port 443?
I get a 'Connection refused' response.
Reply With Quote
  #7 (permalink)  
Old 11-16-2010, 07:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by strafford View Post
I get a 'Connection refused' response.
That would indicate that the service isn't available on that port, things to check: firewall; all zimbra services running; other web server running; etc.? Have a look at the services first and also check the log files for problems.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 11-16-2010, 08:06 AM
Loyal Member
 
Posts: 85
Default

This is internal, so there shouldn't be any firewall issues. In the admin console, under server status there is a check mark beside each service. This machine only runs the zimbra mail suite.

I did see this in the log files from this morning, but it doesn't update (appear again in the log) when I attempt to connect via https:
Quote:
mailbox.log:2010-11-16 08:08:47,907 WARN [btpool0-12] [] log - javax.net.ssl.SSLException: Receiv
ed fatal alert: unknown_ca
mailbox.log:2010-11-16 08:59:06,562 WARN [btpool0-20] [] log - javax.net.ssl.SSLException: Unreco
gnized SSL message, plaintext connection?
mailbox.log:2010-11-16 08:59:11,191 WARN [btpool0-20] [] log - javax.net.ssl.SSLException: Unreco
gnized SSL message, plaintext connection?
Reply With Quote
  #9 (permalink)  
Old 11-16-2010, 08:37 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Do the services show as running if you run a 'zmcontrol status'? Don't worry about the error messages, I'd expect them if you're using telnet but it should also show a connection prompt.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 11-16-2010, 08:40 AM
Loyal Member
 
Posts: 85
Default

Yes, when running as zimbra user, they all show as running. Telnet gives no prompt.
Quote:
zimbra@mailserv:~$ zmcontrol status
Host mailserv.<mydomain>
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.