Skip to content

Small and fast HTTP server with user-friendly backend and file uploads support

Notifications You must be signed in to change notification settings

r0ck3r/SimpleHttpServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpleHttpServer

Is a tiny HTTP-server, that supports file uploading and have user-friendly interface to access to GET and POST parameters and uploaded files

Using SSL certificates from letsencrypt

  1. Obtain certificates with acme.sh (available here: https://github.com/Neilpang/acme.sh)
  2. Go to <home_folder>/.acme.sh/<your_domain>
  3. Run this:
openssl pkcs12 -export -in fullchain.cer -inkey <your_domain>.key -out keystore.p12 -name tomcat -CAfile ca.cer -caname root
  1. Enter password for keystore
  2. Set path to created keystore.p12 and keystore password to setJKSKey method:
ServerSettings serverSettings = ServerSettings.createDefaultConfig();
serverSettings.setJKSKey("/home/user/.acme.sh/example.com/keystore.p12", "storepass")

About

Small and fast HTTP server with user-friendly backend and file uploads support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages