Apache2 trying connecting with ssl, cannot reliably determin the server's fully qualif?

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
Hay guys, I'm starting using apache 2 and I would like to connect with an ssl protocol.
I have activated the SSL module with sudo a2mod ssl, and created a directory for the certs with sudo mkdir /etc/apache2/certificatiSSL.
Then I created the private key and certificate with sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/certificatiSSL/apache.key -out /etc/apache2/certificatiSSL/apache.crt, and filled in the information as requested.
I configured Apache for my virtual host, and I created a new ssl.conf file sudo nano /etc/apache2/sites-available/miosito-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@miosito.com
ServerName www.miosito.com
ServerAlias miosito.com
DocumentRoot /var/www/miosito.com
ErrorLog $APACHE_LOG_DIR/error.log
CustomLog $APACHE_LOG_DIR/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/certificatiSSL/apache.crt
SSLCertificateKeyFile /etc/apache2/certificatiSSL/apache.key
<FilesMatch ".(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
Then I enable the site with sudo a2ensite miosito.com, then restarted apache with sudo /etc/init.d/apache2 restart.
Once I try to open the site (https://www.miosito.com), with Firefox, I get the message that I cannot connect to the server at www.miosito.com. The firewall of course allows access to the web.
Checking journalctl -xe I find
AH00558: apache2: Could not reliably determine the server's fully qualify.
I cannot understand what is going wrong, it seems everything ok, except for the fact that I cannot find my page online.
server apache2 ssl
add a comment |Â
up vote
0
down vote
favorite
Hay guys, I'm starting using apache 2 and I would like to connect with an ssl protocol.
I have activated the SSL module with sudo a2mod ssl, and created a directory for the certs with sudo mkdir /etc/apache2/certificatiSSL.
Then I created the private key and certificate with sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/certificatiSSL/apache.key -out /etc/apache2/certificatiSSL/apache.crt, and filled in the information as requested.
I configured Apache for my virtual host, and I created a new ssl.conf file sudo nano /etc/apache2/sites-available/miosito-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@miosito.com
ServerName www.miosito.com
ServerAlias miosito.com
DocumentRoot /var/www/miosito.com
ErrorLog $APACHE_LOG_DIR/error.log
CustomLog $APACHE_LOG_DIR/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/certificatiSSL/apache.crt
SSLCertificateKeyFile /etc/apache2/certificatiSSL/apache.key
<FilesMatch ".(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
Then I enable the site with sudo a2ensite miosito.com, then restarted apache with sudo /etc/init.d/apache2 restart.
Once I try to open the site (https://www.miosito.com), with Firefox, I get the message that I cannot connect to the server at www.miosito.com. The firewall of course allows access to the web.
Checking journalctl -xe I find
AH00558: apache2: Could not reliably determine the server's fully qualify.
I cannot understand what is going wrong, it seems everything ok, except for the fact that I cannot find my page online.
server apache2 ssl
Is www.miosito.com the real name? If so your problem is probably that this does not have a valid DNS record.
â vidarlo
May 9 at 14:41
hay vidarlo, thanks for the correction :), yes the name is miosito.com, a random name to see how things work. Should i give a more unique name?
â Francesco
May 9 at 18:47
No, but the domain has to be registered and resolve to the correct IP for your browser to be able to find it. Or you can add the line127.0.0.1 www.miosita.comto/etc/hosts. In that case it will only work on the machine running the webserver.
â vidarlo
May 9 at 18:52
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Hay guys, I'm starting using apache 2 and I would like to connect with an ssl protocol.
I have activated the SSL module with sudo a2mod ssl, and created a directory for the certs with sudo mkdir /etc/apache2/certificatiSSL.
Then I created the private key and certificate with sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/certificatiSSL/apache.key -out /etc/apache2/certificatiSSL/apache.crt, and filled in the information as requested.
I configured Apache for my virtual host, and I created a new ssl.conf file sudo nano /etc/apache2/sites-available/miosito-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@miosito.com
ServerName www.miosito.com
ServerAlias miosito.com
DocumentRoot /var/www/miosito.com
ErrorLog $APACHE_LOG_DIR/error.log
CustomLog $APACHE_LOG_DIR/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/certificatiSSL/apache.crt
SSLCertificateKeyFile /etc/apache2/certificatiSSL/apache.key
<FilesMatch ".(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
Then I enable the site with sudo a2ensite miosito.com, then restarted apache with sudo /etc/init.d/apache2 restart.
Once I try to open the site (https://www.miosito.com), with Firefox, I get the message that I cannot connect to the server at www.miosito.com. The firewall of course allows access to the web.
Checking journalctl -xe I find
AH00558: apache2: Could not reliably determine the server's fully qualify.
I cannot understand what is going wrong, it seems everything ok, except for the fact that I cannot find my page online.
server apache2 ssl
Hay guys, I'm starting using apache 2 and I would like to connect with an ssl protocol.
I have activated the SSL module with sudo a2mod ssl, and created a directory for the certs with sudo mkdir /etc/apache2/certificatiSSL.
Then I created the private key and certificate with sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/certificatiSSL/apache.key -out /etc/apache2/certificatiSSL/apache.crt, and filled in the information as requested.
I configured Apache for my virtual host, and I created a new ssl.conf file sudo nano /etc/apache2/sites-available/miosito-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@miosito.com
ServerName www.miosito.com
ServerAlias miosito.com
DocumentRoot /var/www/miosito.com
ErrorLog $APACHE_LOG_DIR/error.log
CustomLog $APACHE_LOG_DIR/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/certificatiSSL/apache.crt
SSLCertificateKeyFile /etc/apache2/certificatiSSL/apache.key
<FilesMatch ".(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
Then I enable the site with sudo a2ensite miosito.com, then restarted apache with sudo /etc/init.d/apache2 restart.
Once I try to open the site (https://www.miosito.com), with Firefox, I get the message that I cannot connect to the server at www.miosito.com. The firewall of course allows access to the web.
Checking journalctl -xe I find
AH00558: apache2: Could not reliably determine the server's fully qualify.
I cannot understand what is going wrong, it seems everything ok, except for the fact that I cannot find my page online.
server apache2 ssl
edited May 9 at 11:53
vidarlo
7,11342140
7,11342140
asked May 9 at 11:34
Francesco
13
13
Is www.miosito.com the real name? If so your problem is probably that this does not have a valid DNS record.
â vidarlo
May 9 at 14:41
hay vidarlo, thanks for the correction :), yes the name is miosito.com, a random name to see how things work. Should i give a more unique name?
â Francesco
May 9 at 18:47
No, but the domain has to be registered and resolve to the correct IP for your browser to be able to find it. Or you can add the line127.0.0.1 www.miosita.comto/etc/hosts. In that case it will only work on the machine running the webserver.
â vidarlo
May 9 at 18:52
add a comment |Â
Is www.miosito.com the real name? If so your problem is probably that this does not have a valid DNS record.
â vidarlo
May 9 at 14:41
hay vidarlo, thanks for the correction :), yes the name is miosito.com, a random name to see how things work. Should i give a more unique name?
â Francesco
May 9 at 18:47
No, but the domain has to be registered and resolve to the correct IP for your browser to be able to find it. Or you can add the line127.0.0.1 www.miosita.comto/etc/hosts. In that case it will only work on the machine running the webserver.
â vidarlo
May 9 at 18:52
Is www.miosito.com the real name? If so your problem is probably that this does not have a valid DNS record.
â vidarlo
May 9 at 14:41
Is www.miosito.com the real name? If so your problem is probably that this does not have a valid DNS record.
â vidarlo
May 9 at 14:41
hay vidarlo, thanks for the correction :), yes the name is miosito.com, a random name to see how things work. Should i give a more unique name?
â Francesco
May 9 at 18:47
hay vidarlo, thanks for the correction :), yes the name is miosito.com, a random name to see how things work. Should i give a more unique name?
â Francesco
May 9 at 18:47
No, but the domain has to be registered and resolve to the correct IP for your browser to be able to find it. Or you can add the line
127.0.0.1 www.miosita.com to /etc/hosts. In that case it will only work on the machine running the webserver.â vidarlo
May 9 at 18:52
No, but the domain has to be registered and resolve to the correct IP for your browser to be able to find it. Or you can add the line
127.0.0.1 www.miosita.com to /etc/hosts. In that case it will only work on the machine running the webserver.â vidarlo
May 9 at 18:52
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034001%2fapache2-trying-connecting-with-ssl-cannot-reliably-determin-the-servers-fully%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Is www.miosito.com the real name? If so your problem is probably that this does not have a valid DNS record.
â vidarlo
May 9 at 14:41
hay vidarlo, thanks for the correction :), yes the name is miosito.com, a random name to see how things work. Should i give a more unique name?
â Francesco
May 9 at 18:47
No, but the domain has to be registered and resolve to the correct IP for your browser to be able to find it. Or you can add the line
127.0.0.1 www.miosita.comto/etc/hosts. In that case it will only work on the machine running the webserver.â vidarlo
May 9 at 18:52