Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

HTTP 400 when EdgeMicro attempts to connect to a Two-way SSL enabled Target Endpoint

The edgemicro section of config.yaml is as follows:

edgemicro:

port: 8000

max_connections: 1000

config_change_poll_interval: 600

logging:

level: error

dir: /var/tmp

stats_log_interval: 60

rotate_interval: 24

plugins:

sequence:

- oauth

targets:

- host: 'org-dev.xxxxx.com'

tls: // Note: I tried putting ssl in here. Same result.

client:

cert: 'path/to/cert'

key: 'path/to/.key'

rejectUnauthorized: true

In this case host - org-dev.xxxxx.com - is secured using two-way ssl.

During testing, I am seeing HTTP 400 error with the following message:

<html>

<head>

<title>400 No required SSL certificate was sent</title>

</head>

<body bgcolor="white">

<center> <h1>400 Bad Request</h1> </center>

<center>No required SSL certificate was sent</center>

<hr>

<center>nginx</center>

/body>

</html>

Can someone please tell me what I am doing wrong?

0 6 273
6 REPLIES 6