Interface HasSslCertificate.DefinitionStages.WithSslCertificate<ReturnT>

    • Method Detail

      • withSslCertificate

        ReturnT withSslCertificate​(String name)
        Specifies an SSL certificate to associate with this resource.

        If the certificate does not exist yet, it must be defined in the optional part of the parent resource definition.

        Parameters:
        name - the name of an existing SSL certificate.
        Returns:
        the next stage of the definition
      • withSslCertificateFromPfxFile

        HasSslCertificate.DefinitionStages.WithSslPassword<ReturnT> withSslCertificateFromPfxFile​(File pfxFile)
                                                                                           throws IOException
        Specifies the PFX file to import the SSL certificate from to associated with this resource.

        The certificate will be named using an auto-generated name.

        Parameters:
        pfxFile - an existing PFX file
        Returns:
        the next stage of the definition
        Throws:
        IOException - when there are issues with the provided file