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 '80')
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.1.tar.gz
(9.1 kB
view details)
Built Distribution
File details
Details for the file SSLSocket-0.0.0.1.tar.gz
.
File metadata
- Download URL: SSLSocket-0.0.0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82fa90876ad3a38b9c3cbd2cb21bfb55ecf8f89997308322e3d782191f53af36 |
|
MD5 | 4d5d225d65cf8bced5d6477bd58a4c74 |
|
BLAKE2b-256 | 44e24f56211b940b0948078210646d2149a4a095bce486f85472e1667d269f56 |
Provenance
File details
Details for the file SSLSocket-0.0.0.1-py3-none-any.whl
.
File metadata
- Download URL: SSLSocket-0.0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.3 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 | 46d8d1fa437e1985c8b4f348e0a8c5a86815a7e29ad729cc0b46f5cb316ae02a |
|
MD5 | 925996c56cc0469ade535f57ddd151ba |
|
BLAKE2b-256 | 6b6ae44ee232be3a4bd42450014dc59d6170d8c4a938d91ffc7d8e1800b351ca |