fixed GH-395 - failing test discovered

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #395
| License       | MIT

Updated certificates in tests/_samples and added script to update them.

The new certs are valid for 4 years, best would be to create them for every test run but VM's have a tendency to not provide enough random entropy.