-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use secure credentials for Agent-Landscape connection
- Loading branch information
1 parent
940270b
commit 06e7cb7
Showing
3 changed files
with
147 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
.../internal/proservices/landscape/testdata/TestConnect/certificates/generate-certificate.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
openssl req \ | ||
-x509 \ | ||
-newkey rsa:4096 \ | ||
-keyout key.pem \ | ||
-out cert.pem \ | ||
-sha256 \ | ||
-nodes \ | ||
-addext 'subjectAltName = IP:127.0.0.1' \ | ||
-subj "/C=US/O=Canonical/CN=CanonicalGroupLimited" |