본문 바로가기

개발이야기/AWS

openjdk의 cacert 확인

openjdk 설치

[ec2-user@ip-172-31-6-79 ~]$ sudo yum install -y java-1.8.0-openjdk-devel.x86_64
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.252.b09-2.amzn2.0.1 will be installed
--> Processing Dependency: java-1.8.0-openjdk(x86-64) = 1:1.8.0.252.b09-2.amzn2.0.1 for package: 1:java-1.8.0-openjdk-devel-1.8.0.252.b09-2.amzn2.0.1.x86_64
--> Processing Dependency: libjvm.so()(64bit) for package: 1:java-1.8.0-openjdk-devel-1.8.0.252.b09-2.amzn2.0.1.x86_64
--> Processing Dependency: libjava.so()(64bit) for package: 1:java-1.8.0-openjdk-devel-1.8.0.252.b09-2.amzn2.0.1.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-1.8.0-openjdk-devel-1.8.0.252.b09-2.amzn2.0.1.x86_64
--> Running transaction check
...생략

디렉토리 이동

cd [ec2-user@ip-172-31-6-79 ~]$ cd /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.amzn2.0.1.x86_64/bin

cacert확인(비번:changeit)

[ec2-user@ip-172-31-6-79 bin]$ ./keytool -list -keystore ../../jre/lib/security/cacerts
키 저장소 비밀번호 입력:
키 저장소 유형: jks
키 저장소 제공자: SUN

키 저장소에 137개의 항목이 포함되어 있습니다.

accvraiz1, 2020. 9. 4, trustedCertEntry,
인증서 지문(SHA1): 93:05:7A:88:15:C6:4F:CE:88:2F:FA:91:16:52:28:78:BC:53:64:17
acraizfnmt-rcm, 2020. 9. 4, trustedCertEntry,
인증서 지문(SHA1): EC:50:35:07:B2:15:C4:95:62:19:E2:A8:9A:5B:42:99:2C:4C:2C:20
actalisauthenticationrootca, 2020. 9. 4, trustedCertEntry,
인증서 지문(SHA1): F3:73:B3:87:06:5A:28:84:8A:F2:F3:4A:CE:19:2B:DD:C7:8E:9C:AC
affirmtrustcommercial, 2020. 9. 4, trustedCertEntry,
인증서 지문(SHA1): F9:B5:B6:32:45:5F:9C:BE:EC:57:5F:80:DC:E9:6E:2C:C7:B2:78:B7
affirmtrustnetworking, 2020. 9. 4, trustedCertEntry,
인증서 지문(SHA1): 29:36:21:02:8B:20:ED:02:F5:66:C5:32:D1:D6:ED:90:9F:45:00:2F
affirmtrustpremium, 2020. 9. 4, trustedCertEntry,
인증서 지문(SHA1): D8:A6:33:2C:E0:03:6F:B1:85:F6:63:4F:7D:6A:06:65:26:32:28:27
affirmtrustpremiumecc, 2020. 9. 4, trustedCertEntry,
...생략

 

반응형