Created
November 7, 2017 10:39
-
-
Save yakivmospan/150388a5e5e52afebf29145a8dc86279 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.setCertificateNotBefore(startDate) // By default, this date is Jan 1 1970. | |
.setCertificateNotAfter(endDate) // By default, this date is Jan 1 2048. | |
.setCertificateSerialNumber(number) // By default, the serial number is 1. | |
.setCertificateSubject(x500Principal) // By default, the subject is CN=fake. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment