Add self-cert to a http website
Project description
SSLSocket
Add self-cert to a http website
Installation
pip install SSLSocket
Usage
- You must have a http website like
http://localhost
,http://127.0.0.1
or something else - Install this library
- Using this code
import SSLSocket
# Install self-cert into system
SSLSocket.installCert()
# Replace <DOMAIN> to another domain you want, (ex: sslsocket.com)
server = SSLSocket.Server(<DOMAIN>)
# Replace IP and PORT with your http website, (ex: IP is '127.0.0.1', and Port is '8080')
server.setServer(<IP>, <PORT>)
# Start server
server.start()
# Now you can browse your domain with SSL (ex: https://sslsocket.com)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SSLSocket-0.0.0.2.tar.gz
(10.3 kB
view details)
Built Distribution
File details
Details for the file SSLSocket-0.0.0.2.tar.gz
.
File metadata
- Download URL: SSLSocket-0.0.0.2.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e3ff6bcc72e87cb974e1b8e71f4151eda8717fcd9e7009aabe292e90685f99 |
|
MD5 | b6df10c5fc4eb8ebec04ef91d0dff3e5 |
|
BLAKE2b-256 | f3060785805e970227afaeec83d02464c392771f4ef1ddf1b0d5136d81808d4f |
Provenance
File details
Details for the file SSLSocket-0.0.0.2-py3-none-any.whl
.
File metadata
- Download URL: SSLSocket-0.0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16b69421e8b6926e1b5d389b13519082af4935b53cf4038b656816ea8ba2d2bb |
|
MD5 | a5898549f0b944aa7f15843c85dad206 |
|
BLAKE2b-256 | db3b0096a12a9f4fed6f56b01aff72f5f97efd88206502e4cbccea7fcf7927d6 |