i've generated self-signed certificate using following command:
subj="/c=us/st=denial/l=home/o=student/cn=data.com" # -nodes flag provides no passphrase entry openssl req \ -x509 \ -nodes \ -days 365 \ -newkey rsa:2048 \ -keyout privatekey.key \ -out certificate.crt \ -subj "$subj" however, i'm not finding examples show how use file certificate.crt undertow.io web server. i'd use certificate create sslcontext can use addhttpslistener undertow api.
i've dug around reading on trustmanagers , keystores, haven't been able find right steps add certificate server serve https. right steps create https server undertow using self-signed certificate?
update intend not deploy this wildfly. it's intended executable jar standing server 'main' via command-line. (a bit more complicated that, there no xml).
Comments
Post a Comment