|
1 | 1 | /* |
2 | | - * Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation. |
| 2 | + * Copyright (c) 2022, 2025 Contributors to the Eclipse Foundation. |
3 | 3 | * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. |
4 | 4 | * |
5 | 5 | * This program and the accompanying materials are made available under the |
@@ -540,33 +540,6 @@ public File getKeyStore() { |
540 | 540 | return new File(getConfigRoot(), KEYSTORE); |
541 | 541 | } |
542 | 542 |
|
543 | | - public static final String TRUSTSTORE_TEMPLATE = "cacerts.jks"; |
544 | | - |
545 | | - public File getTrustStoreTemplate() { |
546 | | - return new File(getTemplatesDir(), TRUSTSTORE_TEMPLATE); |
547 | | - } |
548 | | - |
549 | | - /** |
550 | | - * Should be used only in the cases where the actual keystore creation fails. The idea is when we are unable to create |
551 | | - * the JKS-keystore, we should copy the keystore in templates folder into the domain's config folder. This keystore is |
552 | | - * by no means a keystore for public use. It's just a keystore with a primary key "changeit" and associated certificate |
553 | | - * with signature: -------------------------------------------------------------- Keystore type: jks Keystore provider: |
554 | | - * SUN |
555 | | - * |
556 | | - * Your keystore contains 1 entry |
557 | | - * |
558 | | - * Alias name: s1as Creation date: Sep 11, 2008 Entry type: keyEntry Certificate chain length: 1 Certificate[1]: Owner: |
559 | | - * CN=localhost, OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US Issuer: CN=localhost, |
560 | | - * OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US Serial number: 48c9e075 Valid from: Thu Sep 11 |
561 | | - * 20:22:29 PDT 2008 until: Sun Sep 09 20:22:29 PDT 2018 Certificate fingerprints: MD5: |
562 | | - * 00:E5:5D:1F:07:CC:99:9F:CF:68:0E:AD:29:43:E0:48 SHA1: 1B:62:3E:B2:3D:D7:0B:63:80:92:EE:9A:59:F7:D5:9F:97:A3:FD:98 |
563 | | - * -------------------------------------------------------------- |
564 | | - * |
565 | | - * @return File representing the keystore path. Does not check if the path actually exists. |
566 | | - */ |
567 | | - public File getKeyStoreTemplate() { |
568 | | - return new File(getTemplatesDir(), KEYSTORE); |
569 | | - } |
570 | 543 |
|
571 | 544 | public static final String TRUSTSTORE = "cacerts.jks"; |
572 | 545 |
|
|
0 commit comments