I wanted to create the tls cert dynamically and add those cert into the root CA’S I have gone through lot of tutorials, all of them suggest to make changes from the client side. but here I am cannot change the client code so is there a way like I can add the tls certs from the server side and just force client to use the same one.
here is the server code
// Copyright The OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package mockawsxrayreceiver
import (
"context"
"encoding/json"
"fmt"
This file has been truncated. show original
which I am calling from
// Copyright 2020 OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package datareceivers
import (
"context"
"fmt"
This file has been truncated. show original
any suggestion will be helpful
system
(system)
Closed
January 18, 2021, 5:19pm
2
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.