Coder Social home page Coder Social logo

ssltester's Introduction

SSLTester

A set of SSL client and server testing tools

Debugging the SSL Connection

Usually you will want to use the ssl switch in order to watch the client and server interactions, e.g.

-Djavax.net.debug=ssl

It is useful to watch the handshake, e.g.

-Djavax.net.debug.ssl:handshake

Note: A value of "help" will show all options.

SSL Debug

Set up self-signed CA

OpenSSL Self-Signed Certificate

Password: test

Prerequisites

  1. Locate and edit openssl.cnf
    • Set default country name
  2. Set environment variable OPENSSL_CONF
    • On Windows: set OPENSSL_CONF=C:\GnuWin\share\openssl.cnf
  3. Set environment variable HOME
   
   # openssl genrsa -des3 -out server.key 1024
   # openssl req -new -key server.key -out server.csr
   # cp server.key server.key.org
   # openssl rsa -in server.key.org -out server.key
   # openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
   

http://www.akadia.com/services/ssh_test_certificate.html

   # openssl pkcs12 -export -in server.crt -inkey server.key -out server.p12 -name server

Import using Portecle [1]

Portecle

In the following article, we are only left with a certificate request. An additional step is required to actually create a certificate. The openssl x509 tool will probably do the job -- I'll have to experiment later.

https://blogs.oracle.com/blogbypuneeth/entry/steps_to_create_a_self1 https://blogs.oracle.com/blogbypuneeth/entry/steps_to_create_a_self

[1] Portecle 1.7 - See http://portecle.sourceforge.net/

SSL Server

   # openssl s_server -accept 4443 -www -cert server.crt -key server.key

https://www.openssl.org/docs/manmaster/apps/s_server.html

ssltester's People

Contributors

gkhays avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ssltester's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.