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.4.tar.gz
(10.5 kB
view details)
Built Distribution
File details
Details for the file SSLSocket-0.0.0.4.tar.gz
.
File metadata
- Download URL: SSLSocket-0.0.0.4.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 866a30978f863370d4eb80ca3305fda2f228b60ed5a56f3fbdd039b0061adb27 |
|
MD5 | 4e617dff874ee4a0f5c4ea56786da346 |
|
BLAKE2b-256 | 081ebc77b01e2457ac7cbb744f93f4a6b3a275d6138fe7c531322542ede148b3 |
Provenance
File details
Details for the file SSLSocket-0.0.0.4-py3-none-any.whl
.
File metadata
- Download URL: SSLSocket-0.0.0.4-py3-none-any.whl
- Upload date:
- Size: 10.6 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 | 3a54e9f4381a649ef8139e0d6cc52ad6b9198195fdc8051b1116e2c44518420b |
|
MD5 | 7d7d953d94bfb94b27077c40ddd426ab |
|
BLAKE2b-256 | cd577057e9c43274e31e6b811ff38704ce6b26e36dccbdcf50aecdf59b139000 |