mirror of
https://github.com/novitechie/jetbra
synced 2024-12-22 06:15:45 +00:00
update
This commit is contained in:
parent
e2eae0d69d
commit
a6f91b9933
@ -73,7 +73,7 @@ public class LicenseController {
|
||||
|
||||
@SneakyThrows
|
||||
static PrivateKey getPrivateKey() {
|
||||
ClassPathResource licenseKeyResource = new ClassPathResource("jetbra.key");
|
||||
ClassPathResource licenseKeyResource = new ClassPathResource("jetbra.pem");
|
||||
Security.addProvider(new BouncyCastleProvider());
|
||||
PEMParser pemParser = new PEMParser(new InputStreamReader(licenseKeyResource.getInputStream()));
|
||||
JcaPEMKeyConverter converter = new JcaPEMKeyConverter().setProvider("BC");
|
||||
|
Loading…
Reference in New Issue
Block a user