Hi folks, I’m sorry this is probably an easy question but I can’t seem to figure out a definitive answer and I’ve never had to configure https/SSL before. Apache 2.2.15 on CentOS 6.8.
When I generate my certificate I do it for www.(example).org.uk and (example).org.uk, but my server has been set up by the university I work with (using some custom scripts) and is therefore set up on the local network as (name).(dept).(uni).ac.uk. The errors are fairly obvious:
(example).org.uk uses an invalid security certificate.
The certificate is not trusted because it is self-signed.
The certificate is not valid for the name (example).org.uk.
My questions, and thank you in advance! -
Will the self-signed error go once Centos and Apache are set up correctly?
As well as changing /etc/sysconfig/network, I need to do something with /etc/hosts but I’m not sure what the right formatting would be? I’ve tried changing both of these and restarting the network service but hostname is still (name).(dept).(uni).ac.uk - what else do I need to change, and will this then effect the local network address? Is there any way I can do it so that any IT tasks that are set up can still access (name).(dept).(uni).ac.uk? Thank you again.