Actually, it all works just fine. Viktor's point about adding terminating "\n"
to the input text helped.
-BEGIN PRIVATE KEY-
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDGlXflMDDD8kOP
TP5y06tSXe1g8G3uJAoGHT8NewYANIONuJEZveXnfL8+bJRIu8FDzeCc4SWsCISK
> On Aug 1, 2018, at 12:47 PM, timmy pony wrote:
>
> On Wed, Aug 1, 2018 at 4:28 PM Viktor Dukhovni
> wrote:
> On Wed, Aug 01, 2018 at 09:24:38AM +0100, timmy pony wrote:
>
> > I have tried this
> >
> > openssl dgst -sha256 -sign my_private.key -out /tmp/sign.sha256
> > codeTosign.txt
>
Hi Vicktor - I put a '\n' at end of java snippet
Both are now equal
Thank you for your help.
On Wed, Aug 1, 2018 at 5:47 PM timmy pony wrote:
> Hi Vicktor, Speed read the previous mail.
>
>
>
> On Wed, Aug 1, 2018 at 4:28 PM Viktor Dukhovni
> wrote:
>
>> On Wed, Aug 01, 2018 at 09:24:38AM
Hi Vicktor, Speed read the previous mail.
On Wed, Aug 1, 2018 at 4:28 PM Viktor Dukhovni
wrote:
> On Wed, Aug 01, 2018 at 09:24:38AM +0100, timmy pony wrote:
>
> > I have tried this
> >
> > openssl dgst -sha256 -sign my_private.key -out /tmp/sign.sha256
> codeTosign.txt
>
> This produces raw
> On Aug 1, 2018, at 12:14 PM, timmy pony wrote:
>
> Thanks Viktor,
> for assistance .
> The embedded private key "skeleton" is only for visualisation purposes; No it
> will not.
>
>
> the openssl command returns binary.
> so i can do .But they are still coming out different.
>
>
Thanks Viktor,
for assistance .
The embedded private key "skeleton" is only for visualisation purposes; No
it will not.
the openssl command returns binary.
so i can do .But they are still coming out different.
openssl base64 -in /tmp/sign.sha256 -out
On Wed, Aug 1, 2018 at 4:28 PM Viktor
On Wed, Aug 01, 2018 at 09:24:38AM +0100, timmy pony wrote:
> I have tried this
>
> openssl dgst -sha256 -sign my_private.key -out /tmp/sign.sha256 codeTosign.txt
This produces raw binary output, no base64 encoding. What is the
content of the file "codeToSign.txt"? Post the output of:
od
http://noc.kpnw.org/~scott/
http://www.bpsinfo.com/javassl/
http://sponsor.iti.informatik.tu-darmstadt.de/itissl/
Hi, Khoo Wei Hiong,
What are you trying to do exactly?
If you're doing password-based encryption/decryption with symmetric
keys (e.g. AES, 3DES with openssl enc on command-line), then the
not-yet-commons-ssl java library will help you interop with OpenSSL:
http://juliusdavies.ca/commons-ssl/
So, I hope that I will get sufficient information from you on how to
integrate OpenSSL into my Java application.
You might find it a lot easier if you were to use Bouncy Castle.
http://www.bouncycastle.org/
to encrypt in c++ and bouncy castle to decrypt in java.ThanksS.Suresh- Original Message -From: Lawrence Bowie <[EMAIL PROTECTED]>Date: Thursday, December 16, 2004 10:38 amSubject: Re: Openssl in java Try the native implementation bundled with Sun else you will have to use some JNI m
Try the native implementation bundled with Sun else you will have
to use some JNI methods ...
http://java.sun.com/products/jsse/
LDB
[EMAIL PROTECTED] wrote:
Hi,
I am developing server application in java and client in vc++. How to use
openssl from java.
Thanks in abvance
S.Suresh
Hi,
Thanks for your reply.
can i use openssl to encrypt in c++ and bouncy castle to decrypt in java.
Thanks
S.Suresh
- Original Message -
From: Lawrence Bowie [EMAIL PROTECTED]
Date: Thursday, December 16, 2004 10:38 am
Subject: Re: Openssl in java
Try the native implementation
I'm having problems importing my OpennSSL certificates to my keystore. I
created my root certificate in cacert.pem and I'm trying to import this now
to my keystore.
okay. some progress. I was able to import my CA using keytool. Apparently,
you have to specify an alias for it.
keytool
Then I tried importing a certificate signed by my CA. But now it's
complaining that Input not an X.509 certificate. Is it because my
extension is .pem?
Yes! I found the answer by going through some old threads in the Sun
Microsystems website. I had to convert the PEM certificate to a DER file
Liam,
All you will need to do is comvert the PEM format to DER.
If you user cert is called me.pem then:
openssl x509 -in me.pem -outform DER -out me.cer
I think that is all you will need to do. I don't have access to my
openssl right now, but I have done this before to get the certs into
I know that OpenSSL supports both windows and Unix, and it is used from C
and C++ programs. My question is the following:
Can we use OpenSSL from Java programs as well ( I am a new OpenSSL user)?
I am planning on using OpenSSL on Linux and Windows OS, C++ and
Java programs.
Sure you
Elie Lalo wrote:
I know that OpenSSL supports both windows and Unix, and it is used from
C and C++ programs. My question is the following:
Can we use OpenSSL from Java programs as well ( I am a new OpenSSL user)?
I am planning on using OpenSSL on Linux and Windows OS, C++ and Java
programs.
Java
Yes, the JDK from http://java.sun.com supports SSL. The package is called
JSSE. It integrates really well.
LDB
Elie Lalo wrote:
Hi,
I know that OpenSSL supports both windows and Unix, and it is used
from C and C++ programs. My question is the following:
Can we use OpenSSL from Java programs as
: [snip]
: can use Java, Delphi, or VB to write the client app in. Are there quality
: ports of openssl libs available for any or all of these languages?
If your client will simply communicate with the server over an
SSL-encrypted network socket, chances are you won't have to use a port
of
Hi Dann.
Dann wrote:
I can use Java, Delphi, or VB to write the client app in.
Are there quality ports of openssl libs available for
any or all of these languages?
I am only a novice with regards to SSL, but I think I can
give you some hints.
1a) If you want to use java to implement your
Yep ... it's called pureTLS and you can pickit up from http://www.rtfm.com/puretls
luck
-Original Message-
From:Mads Rasmussen [EMAIL PROTECTED]
Sent:Fri, 24 Nov 2000 14:36:31 -0300
To: [EMAIL PROTECTED]
Subject: OpenSSL for Java??
Hi there,
Any effort is being
Thanks for this helpful reply. This problem is mentioned in
the java-security archives, along with the claim that jsse
is correctly implemented:
http://archives.java.sun.com/cgi-bin/wa?A2=ind0004L=java-securityD=0H=0O=DT=1P=234
Where shall I start digging in the openssl source to build
your
23 matches
Mail list logo