Old:4.0-Mona: Enable SSL: Difference between revisions

Jump to navigation Jump to search
(New page: {{Nav 4.0-Mona}} '''How to enable SSL on Uniform Server 4.0-Mona''' Strange as this may sound although Uniform Server 4.0-Mona has integrated SSL support its not enabled by default. Added...)
 
mNo edit summary
Line 63: Line 63:


'''''Note 3'':''' When run as a service Methods 1 and 2 are unavailable you must manually run the batch file located in folder  '''C:\UniServer\plugins\key_cert_gen'''.
'''''Note 3'':''' When run as a service Methods 1 and 2 are unavailable you must manually run the batch file located in folder  '''C:\UniServer\plugins\key_cert_gen'''.
use Method 3.


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
Line 74: Line 70:


==== Localhost ====
==== Localhost ====
If you are running a local test server just press enter to accept the defaults. This will allow you to quickly produce a secure server. If you wish; change OU (organisation unit) and O (organisation) to something different however do not change the default CN (common name).  
If you are running a local test server just press enter to accept the defaults. This will allow you to quickly produce a secure server. If you wish; change OU (organisation unit) and O (organisation) to something different however do not change the default CN (common name).
 
'''''Note'':''' If you have changed the SSL port 443 to say 444 you must change the common name from localhost to '''localhost:444'''


==== Real Domain ====
==== Real Domain ====
If you have a real domain name for example '''www.fred.com''' enter that at the CN (common name) prompt. The remaining two parameters OU (organisation unit) and O (organisation) are not strictly required hence feel free enter something that meets your requirements.
If you have a real domain name for example '''www.fred.com''' enter that at the CN (common name) prompt. The remaining two parameters OU (organisation unit) and O (organisation) are not strictly required hence feel free enter something that meets your requirements.


'''''Note:''''' If you have changed the SSL port 443 to say 444 you must add this to your domain name '''www.fred.com:444''' otherwise the certificate will be rejected.
'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''


Line 97: Line 97:


'''<nowiki>https://www.mydomain.com/</nowiki>'''
'''<nowiki>https://www.mydomain.com/</nowiki>'''
'''''Note'':''' If you changed the SSL port to say 444 this needs to be included hence you would type the following:
'''<nowiki>https://localhost:444/</nowiki>'''
Or if you have a real domain name
'''<nowiki>https://www.mydomain.com:444/</nowiki>'''


One drawback with self-signed certificates browsers rightly complain they cannot be trusted. The next section shows how to resolve these issue.   
One drawback with self-signed certificates browsers rightly complain they cannot be trusted. The next section shows how to resolve these issue.   


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''