Skip to content

Added Certificate Ripper#1213

Merged
akullpp merged 2 commits intoakullpp:masterfrom
Hakky54:master
Apr 12, 2026
Merged

Added Certificate Ripper#1213
akullpp merged 2 commits 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();
     }
 
 }

@akullpp akullpp merged commit 179f962 into akullpp:master Apr 12, 2026
@Hakky54
Copy link
Copy Markdown
Contributor Author

Hakky54 commented Apr 12, 2026

Thank you very much @akullpp for merging this one

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.

2 participants