It produced this output: failed to connect with 443
My operating system is (include version): debian 8
My web server is (include version): apache 2.4
My hosting provider, if applicable, is: infomaniak.ch
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
I can have access to the website test page when going to diasporing.ch but not using ssl.
Also I would like to know, should i generate a self signed certificate before converting it with lets encrypt or should i just run lets encrypt and then add the information on the cert and key files into the apache virtual host file ?
You don't need to create a self-signed certificate before running certbot. If you use --apache, it should also be able to install the certificate for you (so you wouldn't need to edit the Apache configuration files to refer to the cert and key files).
Could you give us the complete message or messages that certbot output when it finished running?
Failed authorization procedure. diasporing.ch (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to xx.xx.xx.xx:443 for TLS-SNI-01 challenge
IMPORTANT NOTES:
The following errors were reported by the server:
Domain: diasporing.ch
Type: connection
Detail: Failed to connect to xx.xx.xx.xx:443 for TLS-SNI-01
challenge
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.