Skip to content

Commit

Permalink
Update code signing cert
Browse files Browse the repository at this point in the history
Valid until 2023-11-02
  • Loading branch information
adangel committed Sep 30, 2023
1 parent d2923aa commit 04cdbee
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 156 deletions.
6 changes: 3 additions & 3 deletions .ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ for pmd-code.org:

```
$ export CI_SIGN_PASSPHRASE=...
$ openssl pkcs12 -export -in Lets_Encrypt_pmd-code.org_2023-03-02.pem \
$ openssl pkcs12 -export -in Lets_Encrypt_pmd-code.org_2023-09-30.pem \
-name eclipse-plugin \
-password env:CI_SIGN_PASSPHRASE \
-out pmd-eclipse-plugin.p12 \
Expand All @@ -21,7 +21,7 @@ $ jarsigner -verbose \
eclipse-plugin
```

Note: The file "Lets_Encrypt_pmd-code.org_2023-03-02.pem" contains the private key, the certificate
Note: The file "Lets_Encrypt_pmd-code.org_2023-09-30.pem" contains the private key, the certificate
and intermediate certificates.

Note: with openssl 3, the option `-legacy` is required in order to use the pkcs12 keystore with java8.
Expand All @@ -45,7 +45,7 @@ Decrypt it via:
Signing the jar manually via `jarsigner` is difficult, since it changes the jar file and the p2 repo metadata
fails with the wrong checksum. Therefore jarsigning is integrated via [maven-jarsigner-plugin](https://maven.apache.org/plugins/maven-jarsigner-plugin/). See also <https://stackoverflow.com/questions/7956267/tycho-jar-signing>.

Note: The Let's Encrypt certificate expires in Mai 2023. But while signing a digital timestamp is created
Note: The Let's Encrypt certificate expires in November 2023. But while signing a digital timestamp is created
using [DigiCert's Timestamp Server](https://knowledge.digicert.com/generalinformation/INFO4231.html). That's
why the signature is valid longer than the certificate.

Expand Down
Loading

0 comments on commit 04cdbee

Please sign in to comment.