<VirtualHost *:443 *:80>
SSLEngine on
SSLCertificateFile /home/administrator/ssl/star_costamaragencias_com.crt
SSLCertificateKeyFile /home/administrator/ssl/star_costamaragencias_com.key
SSLCertificateChainFile /home/administrator/ssl/gd_bundle-g2-g1.crt
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerName admin.costamaragencias.com
ServerAlias admin.costamaragencias.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory "/var/www/html">
Options FollowSymLinks
AllowOverride All
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<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
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
In /etc/apache2/ssl
star_mydomain_com.key
star_mydomain_com.crt
or At /home/ubuntu/ssl
-rw-rw-r-- 1 ubuntu ubuntu 4795 Nov 21 2019 gd_bundle-g2-g1.crt
-rw-rw-r-- 1 ubuntu ubuntu 2248 Nov 21 2018 _star_ederrafo_com.crt
-rwxr-xr-x 1 ubuntu ubuntu 2248 Nov 21 2019 star_ederrafo_com.crt
-rw-rw-r-- 1 ubuntu ubuntu 1704 Nov 21 2018 star_ederrafo_com.key
two create vitualhost linked ssl certificate
touch /etc/apache2/sites-available/admin.ederrafo.com.conf
write this
Verifica que apache este corriendo
systemctl status apache2
curl -I http://cobranzas-service.costamar.net