cloudflare / cloudflare/cfssl

cfssl ocsprefresh spit database error

Open
#636 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I'm using the mysql backend (didn't tested with the PG one)

➜ cfssl ocsprefresh -loglevel=0 -ca-key=ca-key.pem -ca=ca.pem -db-config=../dbconf/db.json -config=./server-config.json -responder=ocsp/ocsp.pem -responder-key=ocsp/ocsp.key
2016/07/18 14:50:58 [DEBUG] loading configuration file from ./server-config.json
2016/07/18 14:50:58 [DEBUG] parse expiry in profile
2016/07/18 14:50:58 [DEBUG] expiry is valid
2016/07/18 14:50:58 [DEBUG] parse expiry in profile
2016/07/18 14:50:58 [DEBUG] expiry is valid
2016/07/18 14:50:58 [DEBUG] validating configuration
2016/07/18 14:50:58 [DEBUG] validate local profile
2016/07/18 14:50:58 [DEBUG] profile is valid
2016/07/18 14:50:58 [DEBUG] validate local profile
2016/07/18 14:50:58 [DEBUG] profile is valid
2016/07/18 14:50:58 [DEBUG] configuration ok
2016/07/18 14:50:58 [DEBUG] Loading issuer cert: ca.pem
2016/07/18 14:50:58 [DEBUG] Loading responder cert: ocsp/ocsp.pem
2016/07/18 14:50:58 [DEBUG] Loading responder key: ocsp/ocsp.key
2016/07/18 14:50:58 [DEBUG] loading db configuration file from ../dbconf/db.json
{"code":11000,"message":"sql: Scan error on column index 2: unsupported Scan, storing driver.Value type []uint8 into type *time.Time"}

I'm not missing migrations:
➜ new goose -path $GOPATH/src/github.com/cloudflare/cfssl/certdb/mysql up
goose: no migrations to run. current version: 1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.