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.1or something else - Install this library
- Using this code
import SSLSocket
# SSLSocket.log.setOutput(open('log.txt', 'w')) # Change output write log to `log.txt` file
# SSLSocket.log.disableError(True) # Disable Error log
# SSLSocket.log.disableError(False) # Enable Error log
# 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
# In .start() you can use some arg
# http_port = (int) # Change http port (default: 80)
# https_port = (int) # Change https port (default: 443)
# delay = (int) # Delay in second before start server (default: 0)
# force_https = (bool) # Force server use https, will be redirect to https:// if user request to http://
server.start()
# Now you can browse your domain with SSL (ex: https://sslsocket.com)
Metadata
Release files for SSLSocket 0.0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SSLSocket-0.0.0.7.tar.gz | 11.5 kB | Without provenance | Details for SSLSocket-0.0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| SSLSocket-0.0.0.7-py3-none-any.whl | Python 3 | none | any | Details for SSLSocket-0.0.0.7-py3-none-any.whl |
Total release size: 22.8 kB
Release files / SSLSocket-0.0.0.7.tar.gz
| Download URL | SSLSocket-0.0.0.7.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1ad6d6ece80ed6d4532ab70a614acefaf6b6af7a615ed668d97898bcb4d602a
|
|
BLAKE2b-256 checksum How to use checksums |
fdaa9dcc55337b0d32b6fb75f129bb014258dc8c8b6585e58f5a075209931fb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.4
|
Release files / SSLSocket-0.0.0.7-py3-none-any.whl
| Download URL | SSLSocket-0.0.0.7-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f77d99b2e2f9fc7a7ab858d0f4c602d36ff41832491133b006c958c0438debeb
|
|
BLAKE2b-256 checksum How to use checksums |
7eb490fadc3b260abfa54e1c8fd5ede0eceb77a48fb770f833ebd924141e91c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.4
|
Security for SSLSocket 0.0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.