?
Solved

: "SSLeay + BER + DER + Diffie-Hellman algorithm"

Posted on 1998-08-11
2
Medium Priority
?
449 Views
Last Modified: 2010-04-16
Hi,
I have posted this question in the "Ask a C++ programming question" a few day ago,but for a second thought, this question is regarding about security, cryptography, diffie-hillman.  So I like to re-send it again in Java ,
  
"
Thank you so much for answering the two questions that I have posted a couple weeks ago.  Especially the asnwer from alexo. I am afraid that I have a more difficult question this time.  

A bit about SSleay program.

"SSLeay is a free implementation of Netscape's Secure Socket Layer - the software encryption protocol behind the Netscape Secure
Server and the Netscape Navigator Browser.

SSLeay is pronounced S-S-L-e-a-y (i.e. each letter is pronounced individually).

SSLeay implements both SSLv2 (version 2) and SSLv3 (version 3) as of the release of SSLeay-0.8.0.

This implementation was coded from scratch using only the publicly available documentation of the various protocols by Eric
Young eay@cryptsoft.com.

The initial prompting to tackle an SSL implementation, the alpha testing, SSL developer (i.e. Eric) hassling, Windows port and
documentation was done by Tim Hudson tjh@cryptsoft.com.

This implementation has been used by Tim Hudson tjh@cryptsoft.com to add SSL support to the following:

    telnet (server and client) [now called SSLtelnet]
    ftp (server and client) [now called SSLftp]
    NCSA Mosaic 2.5
    NCSA Mosaic 2.6b1
    NCSA Mosaic 2.6b2
    NCSA httpd 1.3

The following applications are also now available based on the earlier work with input from others:

    NCSA httpd 1.4.2

Support for the following are also available:

    Apache
    CERN (or W3C) httpd
    Lynx
    mSQL

SSLeay implements the following encryption algorithms:

    DES
    RSA
    RC4
    IDEA
    Blowfish

URL: http://ssleay.connectnet.com/ 

To download SSL
ftp://ftp.connectnet.com/pub/ssl - SSLeay source

To run the SSLeay program, there are two things need to be done.
1.  Install Microsoft Visual C++  
2.  Install Perl
 
For Windows NT/95 DLL's
type:
1. perl Configure VC-WIN32
2. nmake -f ms\ntdll.mak

Go to directory c:\SSLeay-0.8.1b\out,double click on file ssleay.exe, a dos console window will display ?

Type dh ?

A list of option will shown you how to use the command line i.e:
 SSLeay > dh -inform ...DEC/BER/TXT.......  -outform ..DEC/BER/.TXT.

 As the way I understand it, the input file HAVE TO be in the DEC/BER formats.  I have tried to use text file, but it say bad input format.  I think, the main problem is how to generate the file in the format of BER or DER.  I don't think what contain inside the file is matter.  

Question:  How to generate a file with the extension BER. DER?
 
I am sorry that I have lost you somewhere above, but I am really appreciated if you could share some of your thoughts on the above matter.

Thank you  
0
Comment
Question by:ee9553
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
botafogo earned 30 total points
ID: 1232365
I'm not sure what you want to do.  If you want to generate the
Diffie-Hellman paramenters use the gendh comand.  
gendh -out dh.pem.  You can provide other parameters if you will.
Now to convert the dh file to the der format, use
dh -in dh.pem -out dh.der -inform pem -outform der.  Now you have
the dh in the der format.

0
 

Author Comment

by:ee9553
ID: 1232366
Hello botafogo,

Thank you for sharing your thoughts.  I finally received something from the program which is the something right.

Thank you
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This video teaches viewers about errors in exception handling.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 21 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question