Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
How can I check my application code, if my server has SSL enabled or not?

1 Answer

0 votes
by (36.8k points)

For example

>>> import urllib2

>>> urllib2.urlopen('https://intellipaat.com')

Traceback (most recent call last):

...

urllib2.URLError: <urlopen error (10060, 'Operation timed out')>

>>> html = urllib2.urlopen('http://intellipaat.com').read()

>>> len(html)

146271

>>> 

It shows that intellipaat.com doesn't support SSL (2008).

Want to be a Linux expert? Come and join this Linux course

Do check out the video below

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...