class SystemApiController implements SystemApi {

    @Override
    @PreAuthorize("hasAuthority('VIEW_PROXY_INTERNAL_CERT')")
    public ResponseEntity<CertificateDetails> getSystemCertificate() {
        X509Certificate x509Certificate = internalTlsCertificateService.getInternalTlsCertificate();
        CertificateDetails certificate = certificateDetailsConverter.convert(x509Certificate);
        return new ResponseEntity<>(certificate, HttpStatus.OK);
    }

    @Autowired public  SystemApiController(NativeWebRequest request);

}