in dialer.go [473:489]
func invalidClientCert(
ctx context.Context,
inst alloydb.InstanceURI, l debug.ContextLogger, expiration time.Time,
) bool {
now := time.Now().UTC()
notAfter := expiration.UTC()
invalid := now.After(notAfter)
l.Debugf(
ctx,
"[%v] Now = %v, Current cert expiration = %v",
inst.String(),
now.Format(time.RFC3339),
notAfter.Format(time.RFC3339),
)
l.Debugf(ctx, "[%v] Cert is valid = %v", inst.String(), !invalid)
return invalid
}