LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 04-28-2006, 05:08 AM   #1
feedback
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
put x509 certificate inside a file


Hello, i'm a new user from italy.

I've a big problem:
I really need to use a beta application that works only with certified (or signed) files. How can i sign my files (they are about 50mb each one)
If i try to open the working example given with the SW i obtain this output from line 23

Name vWnm PEMCertX509
Data:
Version: 3 (0x2)
Serial Number:
fb:2a:c0:d0:f2:b8:80:21
Signature Algorithm: sha1WithRSAEncryption
Issuer: xxxxxxxxxxxxxxxxxxx
Validity
Not Before: Nov 29 01:19:22 2005 GMT
Not After : Nov 29 01:19:22 2006 GMT
Subject: xxxxxxxxxxxxxxxxxx
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (1024 bit)
Modulus (1024 bit):
00:e8:8b:9c:04:3f:92:30:29:0a:ab:....
8d:b5:d6:78:52:05:45:9a:29
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
5B1:21:EA:6D:C6:FE:26:57:13:3D:6A:43:84:75:A9:52:63:03:8B
X509v3 Authority Key Identifier:
keyid:18:4D:0B:C0:AC:77:61:EE:A5:A8:81:01:C4:2A:FD:E1:40:C18:66
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
serial:FB:2A:C00:F2:B8:80:20

Signature Algorithm: sha1WithRSAEncryption
43:74:17:1a:97:5b:8c:ca:b2:bd:9e:20:08:f3:20:
..................
f1:94
-----BEGIN CERTIFICATE-----
MIIDWTCCAsKgAwIBAgIJAPsqwNDyuIAhMA0GCSqGSIb3
........
c+k2kAMFktbDhVG8Y/ay2zuLSn6syC7y8xeCtZqyCV/6cCWwWyq6AAUkXPGU
-----END CERTIFICATE-----
VWCl | PemOpenSSLPublicCert


With the beta they gave me the .pem key and certificates, but i don't know which openssl command or dedicated tools i've to use sign my files. I need the certificate inside my file.
I've tryed with -smime and other commands witouth any results.
Can someone hel me?
Thanks

Last edited by feedback; 04-28-2006 at 05:48 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSSL x509: Expecting: CERTIFICATE REQUEST chakkerz Linux - Networking 5 06-10-2010 12:28 PM
openssl on slack 10 unable to read certificate from file chr15t0 Slackware 1 09-13-2005 11:46 AM
unable to put file 4GB file INSIDE iso saravkrish Linux - Software 2 03-23-2005 04:41 PM
How to view inside an image file wisdom Linux - Software 1 02-17-2004 04:00 PM
Help with x509 certificate and freeswan cmisip Linux - Security 3 08-19-2003 12:18 AM


All times are GMT -5. The time now is 09:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration