It's the defaut config file after install, the problem is that it's a config,
not a virtual host
And I have no ide how to set that up
Ssl seems to work
CONNECTED(00000003)
140357952337552:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:s23_clnt.c:795:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 289 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
--------------------------------------------------------------------------------------
config file
Alias /backuppc /usr/share/backuppc/cgi-bin/
<Directory /usr/share/backuppc/cgi-bin/>
AllowOverride None
Allow from all
# Uncomment the line below to ensure that nobody can sniff importanti
# info from network traffic during editing of the BackupPC config or
# when browsing/restoring backups.
# Requires that you have your webserver set up for SSL (https) access.
#SSLRequireSSL
Options +ExecCGI +FollowSymlinks
AddHandler cgi-script .cgi
DirectoryIndex index.cgi
AuthUserFile /etc/backuppc/htpasswd
AuthType basic
AuthName "BackupPC admin"
require valid-user
</Directory>
-------------------------------------------------------------- default ssl
apache file
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.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
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
-----Original Message-----
From: Dmitry Katsubo [mailto:dma_k AT mail DOT ru]
Sent: lundi 30 mai 2016 14:51
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Backup PC on SSL
Hi,
It's difficult to guess, perhaps you could provide a complete vhost
declaration? My guess could be completely unrelated, but have you checked that
you have enabled SSL vhost:
<VirtualHost _default_:443>
SSLEngine on
...
</VirtualHost>
If so, try connecting to port 443 with telnet, or better with openssl:
$ openssl s_client -connect your.host:443
If that also works then try another more permissive browser, e.g. lynx.
P.S. BackupPC is working under SSL just fine for me.
On 2016-05-30 11:09, FLORENT Philippe wrote:
> Hi Everyone,
>
> I tried to enabling the SSL web interface by uncommenting
> SSLRequireSSL (debian 2.4)
>
> Althought it says I cant connect anymore in firefox with http, it
> gives an ssl connection error as I try https
>
> Is there not some block of options for https virtual hosts in this
> case? .. and certificates involved too ?
>
> (on Debian 2.4, the installation is not perfect since I had to add
> +ExecCGI to have the web page work)
>
> Thanks
>
> Phil
--
With best regards,
Dmitry
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|