Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A weird personal discovery was that `openssl x509` used as a conversion tool actually reads the first PEM certificate and leaves stdin open and positioned just past it (rather than silently discarding any trailing data the way I always thought it did), so if you pipe or redirect a bunch of certs into a shell loop (as opposed to a command inside the loop condition) you can actually decode them one by one.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: