티스토리 뷰

EtC

jar 파일의 sign 정보 확인

freecatz 2020. 3. 18. 14:02

 

* JDK 가 설치 되어 있어야 하며, JDK 설치 경로가 PATH 에 설정 되어 있어야 한다.

 

1. jarsigner 를 이용한 방법

freecatz:libs $ jarsigner -verify -verbose -certs sqljdbc4-4.1.jar

... 중략 ...

      [certificate is valid from 06. 11. 8 오전 9:00 to 21. 11. 8 오전 8:59]

      >>> TSA

      X.509, CN=GeoTrust 2048-bit Timestamping Signer 2, O=GeoTrust Inc, C=US

      [certificate will expire on 20. 12. 30 오전 8:59]

      X.509, CN=Symantec Time Stamping Services CA - G2, O=Symantec Corporation, C=US

      [certificate will expire on 20. 12. 31 오전 8:59]

      X.509, CN=Thawte Timestamping CA, OU=Thawte Certification, O=Thawte, L=Durbanville, ST=Western Cape, C=ZA

      [certificate will expire on 21. 1. 1 오전 8:59]

 

 

  s = signature was verified 

  m = entry is listed in manifest

  k = at least one certificate was found in keystore

  i = at least one certificate was found in identity scope

 

- Signed by "CN=Microsoft Corporation, OU=Digital ID Class 3, O=Microsoft Corporation, L=Redmond, ST=Washington, C=US"

    Digest algorithm: SHA1

    Signature algorithm: SHA256withRSA, 2048-bit key

  Timestamped by "CN=GeoTrust 2048-bit Timestamping Signer 2, O=GeoTrust Inc, C=US" on 금 8월 21 12:21:19 UTC 2015

    Timestamp digest algorithm: SHA-1

    Timestamp signature algorithm: SHA1withRSA, 2048-bit key

 

jar verified.

 

Warning: 

The timestamp will expire within one year on 2020-12-30.

 

 

2. keytool 을 이용한 방법

freecatz:libs keytool -printcert -jarfile sqljdbc4-4.1.jar

... 중략 ...

소유자: CN=Thawte Timestamping CA, OU=Thawte Certification, O=Thawte, L=Durbanville, ST=Western Cape, C=ZA

발행자: CN=Thawte Timestamping CA, OU=Thawte Certification, O=Thawte, L=Durbanville, ST=Western Cape, C=ZA

일련 번호: 0

적합한 시작 날짜: Wed Jan 01 09:00:00 KST 1997 종료 날짜: Fri Jan 01 08:59:59 KST 2021

인증서 지문:

MD5:  7F:66:7A:71:D3:EB:69:78:20:9A:51:14:9D:83:DA:20

SHA1: BE:36:A4:56:2F:B2:EE:05:DB:B3:D3:23:23:AD:F4:45:08:4E:D6:56

SHA256: 6B:6C:1E:01:F5:90:F5:AF:C5:FC:F8:5C:D0:B9:39:68:84:04:86:59:FC:2C:6D:11:70:D6:8B:04:52:16:C3:FD

서명 알고리즘 이름: MD5withRSA(약함)

주체 공용 키 알고리즘: 1024비트 RSA 키

버전: 3

 

확장: 

 

#1: ObjectId: 2.5.29.19 Criticality=true

BasicConstraints:[

  CA:true

  PathLen:2147483647

]

 

 

 

Warning:

TSA 인증서 #3/3이(가) 보안 위험으로 간주되는 MD5withRSA 서명 알고리즘을 사용합니다.

 

 

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함