# Set-RASLetsEncryptSettings

## NAME

Set-RASLetsEncryptSettings

## SYNOPSIS

Modifies the Let's Encrypt settings.

## SYNTAX

**Set-RASLetsEncryptSettings** \[[AutoRenewCertBeforeExpirationDays](#autorenewcertbeforeexpirationdays-string) *(uint)*] \[-[ExpirationEmails](#ExpirationEmails) *(string\[])*] \[[Replicate](#replicate-string) *(bool)*] \[[SiteId](#siteid-string) *(uint)*] \[[TermsAccepted](#termsaccepted-string) *(bool)*] \[*(*[*CommonParameters*](#CommonParameters)*)*]

## DESCRIPTION

Modifies the Let's Encrypt settings using the specified parameters and their values.

All parameters are optional.

## PARAMETERS

## SiteId (uint)

Site ID in which to modify the specified Let's Encrypt settings.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## TermsAccepted (bool)

Whether Let's Encrypt Terms are accepted.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## ExpirationEmails (string\[])

The list of email addresses where expiration emails will be sent.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## AutoRenewCertBeforeExpirationDays (uint)

The amount of days before expiration for automatic renewal to take place. Accepted values: 1-60 days; 0 for 'Never'.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Replicate (bool)

\>Whether Replicate is enabled.

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

-none-

## OUTPUTS

-none-

## EXAMPLES

**---------- EXAMPLE 1 ----------**

Set-RASLetsEncryptSettings -SiteID 1 -TermsAccepted $true

Modifies the Let's Encrypt terms accepted to true.

## RELATED LINKS

* [Get-RASLetsEncryptSettings](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasletsencryptsettings)
* [Get-RASLetsEncryptEULA](https://docs.parallels.com/landing/ras-powershell-api-guide/parallels-ras-powershell-admin-module/commands/get-rasletsencrypteula)
