LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   put x509 certificate inside a file (https://www.linuxquestions.org/questions/linux-security-4/put-x509-certificate-inside-a-file-439632/)

feedback 04-28-2006 04:08 AM

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:
5B:D1: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:C1:D8:66
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
serial:FB:2A:C0:D0: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


All times are GMT -5. The time now is 12:25 PM.