Quick setting up gravitational teleport jump box (bastion host)
up vote
0
down vote
favorite
I'm trying to setup a cluster in my virtual box according to the quickstart docs here https://gravitational.com/teleport/docs/quickstart/
I've got a problem with adding a new node to the cluster. When I run on the new node the command (gotten from auth server):
sudo teleport start --roles=node --token=TOKEN --auth-server=192.168.99.101:3025
, I get the error message:
ERRO [PROC:1] Critical service ssh.node has exited with error Get https://teleport.cluster.local/v2/namespaces/default: x509: certificate signed by unknown authority, aborting. service/signals.go:148
EDIT: I tried as well the approach described in the docs https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster . There was the same error.
linux
New contributor
add a comment |
up vote
0
down vote
favorite
I'm trying to setup a cluster in my virtual box according to the quickstart docs here https://gravitational.com/teleport/docs/quickstart/
I've got a problem with adding a new node to the cluster. When I run on the new node the command (gotten from auth server):
sudo teleport start --roles=node --token=TOKEN --auth-server=192.168.99.101:3025
, I get the error message:
ERRO [PROC:1] Critical service ssh.node has exited with error Get https://teleport.cluster.local/v2/namespaces/default: x509: certificate signed by unknown authority, aborting. service/signals.go:148
EDIT: I tried as well the approach described in the docs https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster . There was the same error.
linux
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to setup a cluster in my virtual box according to the quickstart docs here https://gravitational.com/teleport/docs/quickstart/
I've got a problem with adding a new node to the cluster. When I run on the new node the command (gotten from auth server):
sudo teleport start --roles=node --token=TOKEN --auth-server=192.168.99.101:3025
, I get the error message:
ERRO [PROC:1] Critical service ssh.node has exited with error Get https://teleport.cluster.local/v2/namespaces/default: x509: certificate signed by unknown authority, aborting. service/signals.go:148
EDIT: I tried as well the approach described in the docs https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster . There was the same error.
linux
New contributor
I'm trying to setup a cluster in my virtual box according to the quickstart docs here https://gravitational.com/teleport/docs/quickstart/
I've got a problem with adding a new node to the cluster. When I run on the new node the command (gotten from auth server):
sudo teleport start --roles=node --token=TOKEN --auth-server=192.168.99.101:3025
, I get the error message:
ERRO [PROC:1] Critical service ssh.node has exited with error Get https://teleport.cluster.local/v2/namespaces/default: x509: certificate signed by unknown authority, aborting. service/signals.go:148
EDIT: I tried as well the approach described in the docs https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster . There was the same error.
linux
linux
New contributor
New contributor
edited Nov 14 at 12:29
New contributor
asked Nov 14 at 10:01
Roman T
1012
1012
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
From https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster paragraph "Untrusted auth servers":
In a zero-trust environment, you must assume that an attacker can highjack the IP address of the auth server e.g. 10.0.10.5. To prevent this from happening, you need to distribute the CA certificate of the auth server to the node prior to adding it:
# on the auth server:
$ tctl auth export --type=tls > ca.cert
# on the new node, prior to calling 'teleport start'
$ mkdir -p /var/lib/teleport
$ cp ca.cert /var/lib/teleport/ca.cert
The message suggests you perhaps didn't do this yet?
I did with the same error.
– Roman T
Nov 14 at 12:27
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
From https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster paragraph "Untrusted auth servers":
In a zero-trust environment, you must assume that an attacker can highjack the IP address of the auth server e.g. 10.0.10.5. To prevent this from happening, you need to distribute the CA certificate of the auth server to the node prior to adding it:
# on the auth server:
$ tctl auth export --type=tls > ca.cert
# on the new node, prior to calling 'teleport start'
$ mkdir -p /var/lib/teleport
$ cp ca.cert /var/lib/teleport/ca.cert
The message suggests you perhaps didn't do this yet?
I did with the same error.
– Roman T
Nov 14 at 12:27
add a comment |
up vote
0
down vote
From https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster paragraph "Untrusted auth servers":
In a zero-trust environment, you must assume that an attacker can highjack the IP address of the auth server e.g. 10.0.10.5. To prevent this from happening, you need to distribute the CA certificate of the auth server to the node prior to adding it:
# on the auth server:
$ tctl auth export --type=tls > ca.cert
# on the new node, prior to calling 'teleport start'
$ mkdir -p /var/lib/teleport
$ cp ca.cert /var/lib/teleport/ca.cert
The message suggests you perhaps didn't do this yet?
I did with the same error.
– Roman T
Nov 14 at 12:27
add a comment |
up vote
0
down vote
up vote
0
down vote
From https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster paragraph "Untrusted auth servers":
In a zero-trust environment, you must assume that an attacker can highjack the IP address of the auth server e.g. 10.0.10.5. To prevent this from happening, you need to distribute the CA certificate of the auth server to the node prior to adding it:
# on the auth server:
$ tctl auth export --type=tls > ca.cert
# on the new node, prior to calling 'teleport start'
$ mkdir -p /var/lib/teleport
$ cp ca.cert /var/lib/teleport/ca.cert
The message suggests you perhaps didn't do this yet?
From https://gravitational.com/teleport/docs/admin-guide/#adding-nodes-to-the-cluster paragraph "Untrusted auth servers":
In a zero-trust environment, you must assume that an attacker can highjack the IP address of the auth server e.g. 10.0.10.5. To prevent this from happening, you need to distribute the CA certificate of the auth server to the node prior to adding it:
# on the auth server:
$ tctl auth export --type=tls > ca.cert
# on the new node, prior to calling 'teleport start'
$ mkdir -p /var/lib/teleport
$ cp ca.cert /var/lib/teleport/ca.cert
The message suggests you perhaps didn't do this yet?
answered Nov 14 at 11:30
telcoM
14.1k11842
14.1k11842
I did with the same error.
– Roman T
Nov 14 at 12:27
add a comment |
I did with the same error.
– Roman T
Nov 14 at 12:27
I did with the same error.
– Roman T
Nov 14 at 12:27
I did with the same error.
– Roman T
Nov 14 at 12:27
add a comment |
Roman T is a new contributor. Be nice, and check out our Code of Conduct.
Roman T is a new contributor. Be nice, and check out our Code of Conduct.
Roman T is a new contributor. Be nice, and check out our Code of Conduct.
Roman T is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481661%2fquick-setting-up-gravitational-teleport-jump-box-bastion-host%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown