When I try to save the environment with the alias vbox it gives Missing PEM block


Ushani Balasooriya
 

bosh -e 192.168.50.6 alias-env vbox --ca-cert vbox/creds.yml

Validating Director connection config:
Parsing certificate 1: Missing PEM block

Exit code 1


Please explain me the below command. What is the --path parameter? I do not have a director_ssl folder. Also Is my above command correct? I have a folder called vox and creds.yml inside it.
bosh -e 192.168.50.6 alias-env vbox --ca-cert <(bosh int vbox/creds.yml --path /director_ssl/ca)


Ushani Balasooriya
 

Issue was I had extra ) at the end of the command.
bosh -e 192.168.50.6 alias-env vbox --ca-cert <(bosh int vbox/creds.yml --path /director_ssl/ca) should be
bosh -e 192.168.50.6 alias-env vbox --ca-cert <(bosh int vbox/creds.yml --path /director_ssl/ca


Ushani Balasooriya
 

Pls ignoe prvious comment

Issue was a space before the ( bracer. Correct command is as below.

bosh -e 192.168.50.6 alias-env vbox --ca-cert <(bosh int vbox/creds.yml --path /director_ssl/ca)
Using environment '192.168.50.6' as anonymous user

Name Bosh Lite Director
UUID 575074fe-09db-4c88-8aae-eb8284b3d702
Version 263.2.0 (00000000)
CPI warden_cpi
Features compiled_package_cache: disabled
config_server: disabled
dns: disabled
snapshots: disabled
User (not logged in)

Succeeded