Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
/ sslt Public archive

Generate a test certificate (self-signed certificate) locally, and set the domain name, issuer, key algorithm, signature algorithm, etc. to test the feasibility of the system HTTPS.

License

Notifications You must be signed in to change notification settings

XRSec/sslt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 About

  • For a more secure network environment, self built Ca and self issued SSL certificate
  • Tip  [ ssleye ] [ myssl ][ sslchecker ] online

⚠️ danger

  • If the same root certificate name exists in the database, the certificate in the database will be exported
  • If the same service certificate name and (IP | Domain) exist in the database, the certificate in the database will be exported
  • The domain name verification method uses setting temporary hosts to bypass DNS

🟡 Web UI

☂️ How to use

Run

./sslt
# Port 8081

Help

~ ./sslt -help
 -------------------------------
   _____   _____  .      _______
  (       (      /     '   /   
   `--.    `--.  |         |   
      |       |  |         |   
 \___.'  \___.'  /---/     /   
 ----------------------     
Usage of sslt:
  -api
        sslt api
  -c string
        Specified Country (default "US")
  -h    Display help information
  -help
        Display help information
  -host string
        Specified domain name (default "localhost")
  -p string
        Specified encryption protocol (default "rsa")
  -r string
        Import CA (default "sslt/ca.pem")
  -rc string
        Specified Root CommonName (default "GTS Root R1")
  -rk string
        Import CA Key (default "sslt/ca.key.pe")
  -rlc string
        Specified Root Locality
  -rna string
        Specified Root NotAfter
  -ro string
        Specified Root Organization (default "Google Trust Services LLC")
  -rou string
        Specified Root OrganizationalUnit
  -rpc string
        Specified Root PostalCode
  -rpr string
        Specified Root Province
  -rsn string
        Specified Root SerialNumber
  -rst string
        Specified Root StreetAddress
  -s string
        Import Cert CA (default "sslt/server.pem")
  -sc string
        Specified Server CommonName (default "GTS CA 1C3")
  -sk string
        Import Cert CA Key (default "sslt/server.key.pe")
  -slc string
        Specified Server Locality
  -sna string
        Specified Server NotAfter
  -so string
        Specified Server Organization (default "Google Trust Services LLC")
  -sou string
        Specified Server OrganizationalUnit
  -spc string
        Specified Server PostalCode
  -spr string
        Specified Server Province
  -ssn string
        Specified Server SerialNumber
  -sst string
        Specified Server StreetAddress
  -v    sslt version
 -------------------------------

🟠 Task

  • Api

    • Web API
      • List All Certificates
        • Sqllite
          • TODO QuireAll
          • CaInquire
          • CaAdd
      • Home
      • new
      • import
      • help
  • Vue web

  • Import Certificate

  • Save to sqlite3

  • Generate a certificate

🟢 Architecture

/

graph LR
    Main((Main))-->Api{Api}-->gin{gin}
Loading

/import

flowchart LR
    gin{gin}-->Import{Import}--yes-->Sqlite3[(Sqlite3)]-->Import{Import}-->gin{gin};
Loading

/list

flowchart LR
    gin{gin}-->Sqlite3[(Sqlite3)]-->gin{gin};
Loading

/new

flowchart LR
    gin{gin}-->Choice{Choice}-->Sqlite3[(Sqlite3)]-->gin{gin};
Loading

😊 Thanks

[ shaneutt ] [ AndroidOL ] [ I3estD4rkKn1ght ]