Open k8s19 opened 5 years ago
I have the same issue? Is there a solution to this? I am using CentOS
Failed to load config file: {"code":5200,"message":"could not read configuration file"}Failed to parse input: unexpected end of JSON input make: *** [gencerts] Error 1
Is there any update about this? I am facing the same issue with Linux here.
Never mind ! I solved issue by using old version (1.3.2) of docker image cfssl/cfssl in Makefile.
using old version doesn't solve my issue on CentOS
Below error reported when doing custom metric:
~/go/k8s-prom-hpa$ sudo make certs Generating TLS certs Using default tag: latest latest: Pulling from cfssl/cfssl Digest: sha256:525005bc4e39d61a2302490329e414eab13ee7ec3edf261df5da68ff65cb506b Status: Image is up to date for cfssl/cfssl:latest Can't load /home/ubuntu/.rnd into RNG 139813639434688:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/home/ubuntu/.rnd Generating a RSA private key .................+++++ ........................................................................................................+++++ writing new private key to 'metrics-ca.key'
Failed to load config file: {"code":5200,"message":"could not read configuration file"}Failed to parse input: unexpected end of JSON input Makefile:14: recipe for target 'gencerts' failed make: *** [gencerts] Error 1