Cannot get SSL working with Apache
The error
Connection timed out
Indicates that openssl
can't even complete a TCP handshake on port 443 of your server.
The most likely problem is either with your iptables
configuration or an external firewall run by your hosting provider.
Related videos on Youtube
Lovelock
Updated on September 18, 2022Comments
-
Lovelock over 1 year
I am using Medium.js editor script which helps with
contenteditable
div
s.But I also want to make adding images better and more like Medium.js itself does.
Currently, I am using this function to insert a node at the current cursor point:
function insertImageAtCursor(text) { var sel, range, html; sel = window.getSelection(); range = sel.getRangeAt(0); range.deleteContents(); var descriptionNode = document.createElement("img"); descriptionNode.className = "img"; descriptionNode.src = text; range.insertNode(descriptionNode); range.setStartAfter(descriptionNode); sel.removeAllRanges(); sel.addRange(range); }
This works, however I am facing styling issues where I am currently in a paragraph and typing, then insert an image I will end up with content like:
<p> this is a paragraph and I have inserted a image <img src="insertimage.png"/> </p>
Really, I should be using the
figure
element and it would insert the image outside of the current paragraph. This way when I add an image, it wouldn't be added in the currentp
element, but instead would be added after and as afigure
element. I cannot simply append the image, as I want users to be able to be editing a blog post and be able to insert an image at any point.Any help on this? There is a plugin already:
But the dependencies required are more than I wish to use and I already have image upload etc working. Just need to get the images being inserted better.
-
YakovL about 8 yearsThe link to the plugin is missing, could you restore it please?
-
-
user491704 about 12 yearsI followed the link and it appears to show nothing mentioning goDaddy. It does come up with information if I manually add goDaddy to the search term, but this is the same with all domain providers. Also most of the results from that link seem to indicate problems with POP rather than HTTP(s). I presumed that the 110 error was specific to the s_client command, rather than SSL.
-
user491704 about 12 yearsThe block is the same in my non-SSL VirtualHost section. Also the directory I am trying to access is the root /var/www/
-
adaptr about 12 yearss_client is an openssl command, and openssl is the reference implementation of the SSL protocol. so yes, this is an SSL error.