Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Open In App
Next Article:
How to Install Python docutils in Windows?
Next article icon

How to Install and use SSL Certificate In Python

Last Updated : 04 Dec, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report

 A secure Socket Layer (SSL) Certificate is a Digital certificate that can be used for the authentication of a website and it helps to establish an encrypted connection between the user and server. SSL is a  secure layer that creates an encrypted link between a web server and a web browser. SSL keeps internet connections secure. When an SSL  certificate is installed on the website it becomes HTTP to HTTPS, which is more secure. SSL is also called TLS.

Types of SSL certificates:

There are different types of SSL certificates with different validation levels. The six main types are:

  • Domain Validated certificates 
  • Wildcard SSL certificates
  • Multi-Domain SSL certificates 
  • Organization Validated certificates 
  • Unified Communications Certificates
  • Extended Validation certificates 

Uses of SSL:

  • Authentication: An SSL certificate will verify that a user is connecting to the correct server.
  • Encryption: SSL will ensure that the connection between the user and the server must be encrypted.
  • HTTPS: It is a combination of the HTTP with the Secure Socket Layer (SSL)/Transport Layer Security (TLS) protocol. 
  • TLS: It is an authentication and security protocol widely implemented in browsers and Web servers.

Prerequisite:    

Preinstalled Python environment can be downloaded from python.org. To install python on  Windows/Mac/Linux refer to:

  • Windows
  • Mac
  • Linux

Installation of Python certifi on Windows:

Step 1: Press the Start button and then Type CMD to Select Command Prompt from the list. When we open the command prompt then a screen like this will appear on the computer.

Installation of Python certifi on Windows:
 

            

Step 2: Type the given below command on the command prompt and then press enter button.

python -m pip install certifi
Installation of Python certifi on Windows
 

In case the previous command will not work then type the given below command and then press enter button.

pip install certifi
Installation of Python certifi on Windows
 

Installation of Python certifi  on Linux:

Step 1:  Open your terminal.

Step 2: Type the given below command on the terminal and then press enter button.

python -m pip install certifi

Step 3:  In case if the previous command will not work then type the given below command and then press enter button.

pip install certifi

or

python -m pip install certifi
Installation of Python certifi  on Linux
 

Python certifi.where()

The certifi.where() is a function that helps us find the information of the installed certificate authority (CA) in Python.

import certifi    print(certifi.where())

Output

 

Next Article
How to Install Python docutils in Windows?

M

manas01
Improve
Article Tags :
  • Technical Scripter
  • How To
  • Technical Scripter 2022

Similar Reads

  • How to Install an SSL Certificate on Azure
    It is always more important for your web applications and services to ensure the transmission data security for users and protect personal information with HTTPS encryption. Microsoft’s cloud offering known as Azure offers several ways of deploying SSL & TLS certificates that would facilitate se
    8 min read
  • How to Install an SSL Certificate on Apache?
    The Apache HTTP Server module mod_ssl provides an interface to the OpenSSL library, which provides Strong Encryption using the Secure Sockets Layer and Transport Layer Security protocols. What is Secure Sockets Layer (SSL)?The Secure Sockets Layer protocol is a protocol layer which may be placed bet
    3 min read
  • How to Install an SSL Certificate on NodeJS?
    Security is essential in today's internet-driven environment to safeguard users and guarantee that users trust your web apps. Using SSL (Secure Sockets Layer) certificates, which enable HTTPS and encrypt interactions between the server and client, is one of the fundamental security precautions. You
    5 min read
  • How to Install an SSL/TLS Certificate In Amazon EC2 (AWS)
    AWS EC2 is one of the most used and convenient solutions for hosting web servers and applications accessible worldwide. Securing your applications with an SSL certificate is vital for safeguarding user data and building trust. In this article, we will be hosting a basic web application on EC2 and wi
    6 min read
  • How to Install Python docutils in Windows?
    Docutils is an open-source text processing system written in Python. It is used to process simple text or plaintext documents into useful formats like LaTex, OpenDocument, HTML, XML, etc. It is easy to use and easy to read, and general and special purpose use. So, in this article, we will be looking
    2 min read
  • How to Install S3FS in Python ?
    Python is a high-level programming language that has become popular because it is simple to use, and adapt and offers a large range of applications. the process of installing s3fs in Python is simple and involves a few steps. S3FS is used in Python and it is a Pythonic file interface to the S3, This
    4 min read
  • How to Install Cryptography in Python?
    With over 49,889,600 downloads, the Python cryptography library is among the top 100 Python libraries. High-level recipes and simplified gateways to common cryptographic methods, such as symmetrical ciphers, message digests, and key derivation algorithms, are included in this package. It's now avail
    2 min read
  • How to Install CMake for Windows in Python?
    CMake is a cross-platform free and open-source software tool for managing the build process of software using a compiler-independent method. It supports directory hierarchies and applications that depend on multiple libraries. Installation of CMake CMake in Python can be easily installed with the us
    1 min read
  • How to Install python-dotenv in Python
    Python-dotenv is a Python package that is used to manage & store environment variables. It reads key-value pairs from the “.env” file. How to install python-dotenv?To install python-dotenv using PIP, open your command prompt or terminal and type in this command. pip install python-dotenvVerifyin
    3 min read
  • How to install Python in Ubuntu?
    This article will guide you through the steps to install Python on Ubuntu, ensuring you're ready to start coding quickly. We will focus on installing Python 3, which is the most widely used version today. Python is typically pre-installed on Ubuntu, particularly Python 3, as it's an essential part o
    4 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences