In my Ubuntu server,
I am not able to host site in https i donot know what is i am missing or mis-configure, but site can host only in http.
in apidev.gharbanau.com-le-ssl.conf
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName apidev.gharbanau.com
#ServerName www.apidev.gharbanau.com
DocumentRoot /var/www/html/demo/DevNirmanSamagriAPI
ErrorLog {APACHE_LOG_DIR}/error.log
CustomLog {APACHE_LOG_DIR}/access.log combined
<Directory /var/www/html/demo/DevNirmanSamagriAPI>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
#RewriteEngine on
#RewriteCond %{SERVER_NAME} =www.gharbanau.com
#RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
#SSLCertificateFile /etc/letsencrypt/live/apidev.gharbanau.com/fullchain.pem
#SSLCertificateKeyFile /etc/letsencrypt/live/apidev.gharbanau.com/privkey.pem
#Include /etc/letsencrypt/options-ssl-apache.conf