Class CertificateModule

java.lang.Object
google.registry.monitoring.blackbox.module.CertificateModule

@Module public class CertificateModule extends Object
Dagger module that provides bindings needed to inject server certificate chain and private key.

Currently the sandbox certificates and private key are stored as local secrets in a .p12 file, however, in production, all certificates will be stored in a .pem file that is encrypted by Cloud KMS. The .pem file can be generated by concatenating the .crt certificate files on the chain and the .key private file.

The production certificates in the .pem file must be stored in order, where the next certificate's subject is the previous certificate's issuer.

See Also:
  • Constructor Details

    • CertificateModule

      public CertificateModule()