tectonic-installer icon indicating copy to clipboard operation
tectonic-installer copied to clipboard

while running terraform plan its showing "provider.matchbox: no PEM certificates were parsed"

Open srihithasri opened this issue 7 years ago • 5 comments

Versions

Tectonic version (release or commit hash):

tectonic_1.8.4-tectonic.3

Terraform version (terraform version):

Terraform v0.10.7

Platform (aws|azure|openstack|metal|vmware):

metak

What happened?

while running terraform plan i am getting this issue "Error running plan: 1 error(s) occurred:

* provider.matchbox: no PEM certificates were parsed'
 even though i gave proper certificates

What you expected to happen?

terraform should run and able to pwoer on nodes

How to reproduce it (as minimally and precisely as possible)?

regenrated correct keys and even tried using pem format but still not working

Anything else we need to know?

enter text here

References

https://coreos.com/tectonic/docs/latest/install/bare-metal/metal-terraform.html

Feature Request

Environment

enter text here

Desired Feature

enter text here

Other Information

enter text here

srihithasri avatar Feb 09 '18 06:02 srihithasri

inorder to update terraform version how can i do it in coreos since i didnt find any command to update according to document

srihithasri avatar Feb 09 '18 06:02 srihithasri

Terraform is included with the Installer. It is added to your path as part of:

$ export PATH=$(pwd)/tectonic-installer/darwin:$PATH

Can you share how you generated or validated your certificates?

robszumski avatar Feb 09 '18 18:02 robszumski

Generate a ca.crt, server.crt, server.key, client.crt, and client.key.

$ ./cert-gen

Using this command I generated and I verified using this commands:

Openssl verify file-name

And I am using

./tectonic-installer/linux/installer

Linux one

On 9 Feb 2018 11:49 p.m., "Rob Szumski" [email protected] wrote:

Terraform is included with the Installer. It is added to your path as part of:

$ export PATH=$(pwd)/tectonic-installer/darwin:$PATH

Can you share how you generated or validated your certificates?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/coreos/tectonic-installer/issues/2923#issuecomment-364514932, or mute the thread https://github.com/notifications/unsubscribe-auth/AYcUm6oT_zk0jFLKwWHIXwfd8e8JJ_gdks5tTIwTgaJpZM4R_epq .

srihithasri avatar Feb 10 '18 04:02 srihithasri

This happened to me when I forgot to include the path to the platform in the command.

It worked when I did the following: terraform plan -var-file=path/to/terraform.tfvars platforms/metal

pmb311 avatar May 14 '18 20:05 pmb311

I got the same error,and you method didnot solve the problem

  • provider.matchbox: failed to create Matchbox client or connect to matchbox.example.com:8081: tls: failed to find any PEM data in certificate input

13567436138 avatar Feb 10 '19 06:02 13567436138