SSL/TLS certificates
What the usual certificate files contain, how to convert CRT to PEM, and how to issue, list, renew and delete Let's Encrypt certificates with Certbot.
- Security
Field notes and cheat sheets from building and running enterprise software — Java and Jakarta EE, databases, DevOps, Linux and more.
What the usual certificate files contain, how to convert CRT to PEM, and how to issue, list, renew and delete Let's Encrypt certificates with Certbot.
Run Elasticsearch, Logstash and Kibana in Docker, create a Kibana data view and ship Java logs to Logstash with Logback.
How to tell whether an email address is real: syntax and MX checks, SMTP probing, catch-all domains, double opt-in and re-typing.
Run a Maven web application with the Jetty Maven plugin, change the port, and serve it over TLS with a Let's Encrypt certificate.
Connect WildFly to PostgreSQL and MySQL: install the JDBC driver as a module, define datasources and fix WFLYJCA0047.
Install and run GlassFish: secure admin, ports and paths, JVM tuning, SSL certificates, JDBC and mail resources, realms and common errors.
macOS command-line tips: software updates, NTFS mounts, torrents, yt-dlp, checksums, PDF merging and faster animations.
Two Logback appenders explained: daily rolling log files with size and history limits, and log events written to a database over JNDI.
JPA recipes: java.time mappings, sequence generators, runtime persistence properties, bulk updates, JSON columns and inheritance.
Apache Derby, the pure-Java database: run the ij tool, connect with embedded, in-memory and network URLs, and run SQL.
Make Java Swing apps feel native on macOS (menu bar, app name, Dock icon, splash screen) and package them with jpackage.
JavaFX snippets: periodic actions, FXML controller lifecycle, user-agent stylesheets, high-contrast themes, the virtual keyboard and pie chart labels.
Geographic math for developers: degrees and minutes, radius searches, great-circle distance and the midpoint of several points, with Java code.
Formulas for the e-commerce KPIs worth tracking, from return on investment and conversion rate to customer lifetime value and NPS.
Recompile LaTeX documents automatically with latexmk, and write and render maths on web pages with KaTeX.
Run SQL Server in a Docker container, query it with sqlcmd, connect from Java with jTDS, and define a GlassFish connection pool.
Create and manage SSH keys: generate a key pair, set a passphrase, copy the public key, test Git hosts and recover a server you are locked out of.
Maven reference: build lifecycle, properties, skipping tests, archetypes, local JARs, GPG signing, deploy plugins and dependency checks.