awsdocs / aws-greengrass-developer-guide

Open source version of the AWS IoT Greengrass V1 Developer Guide
Other
32 stars 31 forks source link

Add missing softhsm2 setup step #6

Closed timmattison closed 5 years ago

timmattison commented 5 years ago

If a user doesn't create the .softhsm2/tokens directory softhsm2-util will report ERROR: Could not initialize the library.. In newer versions of SoftHSM2 this error has been updated to indicate the root cause, the missing directory, but in the default version in the Ubuntu repositories the error message isn't clear enough to help the user.

This PR adds that missing step and calls out the error message so that if someone receives it and searches for it in this context they'll know what happened.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

dkdiaz commented 5 years ago

Thanks for the PR, @timmattison ! We'll work with the Greengrass service team to review it.

dkdiaz commented 5 years ago

Thanks @timmattison and @xuaoran ! These changes will be migrated to the public docs shortly.