> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FlexDeploy HTTPS Agent

> The FlexDeploy HTTPS agent is an alternative way of connecting to an endpoint. It connects over HTTPS, thus not requiring SSH to be exposed. This may

The FlexDeploy HTTPS agent is an alternative way of connecting to an endpoint. It connects over HTTPS, thus not requiring SSH to be exposed. This may be the preferred approach for Zero Trust Architectures.

* [FlexDeploy HTTPS Agent - Installation Guide](https://docs.flexagon.com/flexdeploy-11-0-documentation/flexdeploy-https-agent/flexdeploy-https-agent-installation-guide.md)
* [FlexDeploy HTTPS Agent - Upgrade Guide](https://docs.flexagon.com/flexdeploy-11-0-documentation/flexdeploy-https-agent/flexdeploy-https-agent-upgrade-guide.md)
* [FlexDeploy HTTPS Agent - Additional Configuration](https://docs.flexagon.com/flexdeploy-11-0-documentation/flexdeploy-https-agent/flexdeploy-https-agent-additional-configuration.md)

## Architecture

![HTTPS Agent Architecture](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596425416.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=191e4986b32018c002bf321be573a950)

## Starting and stopping the agent

The scripts located inside the agent installation directory are used for starting and stopping the agent.

### Start

Linux

```
cd $HTTPS_AGENT_HOME

./StartFlexDeployHttpsAgent.sh
```

Windows

```
cd %HTTPS_AGENT_HOME%

StartFlexDeployHttpsAgent.bat
```

### Stop

Linux

```
cd $HTTPS_AGENT_HOME

./StopFlexDeployHttpsAgent.sh
```

Windows

```
cd %HTTPS_AGENT_HOME%

StopFlexDeployHttpsAgent.bat
```

## Troubleshooting

Run the following command to confirm if the agent is running, as well as see launch arguments.

```
ps -ef | grep java.*https.agent
```

### Logs

#### Viewing Logs

View the logs by going to HTTPS\_AGENT\_HOME/apache-tomcat-flexdeploy-https-agent/logs

Agent logs will be in the same pattern as FlexDeploy logs, flexdeploy.\<number>.log with 0 being the most current log.

Catalina logs as well as garbage collection logs will also be located here.

#### Changing log level

To change the log level adjust the HTTPS\_AGENT\_HOME/apache-tomcat-flexdeploy-https-agent/conf/logging.properties file. Change the following lines to the desired log level.

```
# FlexDeploy levels
.level=INFO # change this one for every other logger then the agents
flexagon.level=INFO # change this one and the next one for just agent logging directly
com.flexagon.level=INFO
```

Then restart the agent for it to take effect.
