Skip to content

Added Certificate Ripper#1213

Open
Hakky54 wants to merge 1 commit intoakullpp:masterfrom
Hakky54:master
Open

Added Certificate Ripper#1213
Hakky54 wants to merge 1 commit intoakullpp:masterfrom
Hakky54:master

Conversation

@Hakky54
Copy link
Copy Markdown
Contributor

@Hakky54 Hakky54 commented Mar 31, 2026

Certificate ripper extracts server certifcates including the full chain into a der, p7b, pkcs12 or pem file. It makes it easy to update/maintain truststores or for analysing certificates.

Example usage:

Add the dependency

<dependency>
    <groupId>io.github.hakky54</groupId>
    <artifactId>certificate-ripper</artifactId>
    <version>2.7.1</version>
</dependency>

Run the code snippet

public class App {
 
     public static void main(String[] args) {
         CertificateRipper.exportToPem("https://github.com")
                 .withIncludeHeader(false)
                 .withCombined(true)
                 .withDestination("/path/to/export/github-chain.crt")
                 .build()
                 .run();
     }
 
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant