Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Linux431247yMultidomain .csr:
openssl req -new -newkey rsa:2048 -nodes -sha256 -subj "/C=TwoLetterCountryCode/ST=State Name/L=City Name/O=Company Name Gmbh/OU=IT/CN=www.yourdomain.com" -config <(
cat <<-EOF
[req]
default_bits = 2048
default_md = sha256
req_extensions = req_ext
distinguished_name = dn
[ dn ]
[ req_ext ]
subjectAltName = @alt_names
[alt_names]
DNS.1 = 123.yourdomain.com
DNS.2 = haha.yourdomain.com
DNS.3 = www.someothercrappydomain.com
EOF
) -
-
Add code formatting and devrant will fill with kids asking for help on their homework 😒
dfox did a smart thing. -
inaba44987y@nbamaral nah if they wanna ask they ask because a lot of them don't even know how to ask
-
Linux431247y@andros705
How the fuck should we rant about code when we not can write it down readable?
So many developer that does not know how to generate a simple .csr file. Here you go:
$DOMAIN=www.yourdomain.com
$STATE=State
$CITY=The city
$COMPANY=Company Name Gmbh
openssl req -utf8 -nameopt multiline,utf8 -new -newkey rsa:2048 -nodes -sha256 -out $DOMAIN.csr -keyout $DOMAIN.key -subj "/C=Your CountryCode/ST=$STATE/L=$CITY/O=${ORG:-$COMPANY}/OU=${ORG:-IT}/CN=$DOMAIN"
rant