<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,
    <br>
    <br>
    I try to generate x.509-keys for TLS/SSL operation with MQTT and
    Mosquitto and follow the Mosquitto TLS documentation:
    <br>
    <br>
    Generate a certificate authority certificate and key.
    <br>
        openssl req -new -x509 -days 365 -extensions v3_ca -keyout
    ca.key -out ca.crt
    <br>
    <br>
    Generate a server key.
    <br>
        openssl genrsa -des3 -out server.key 1024
    <br>
    <br>
    Generate a certificate signing request to send to the CA.
    <br>
        openssl req -out server.csr -key server.key -new
    <br>
    <br>
    Send the CSR to the CA, or sign it with your CA key:
    <br>
        openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key
    -CAcreateserial -out server.crt -days 365
    <br>
    <br>
    The first two operations went well, but during the third, the
    signing request to the CA, I got the following error message:
    <br>
    <br>
    OpenSSL> req -out server.csr -key server.key -new
    <br>
    problem creating object tsa_policy1=1.2.3.4.1
    <br>
    5596:error:08064066:object identifier routines:OBJ_create:oid
    exists:crypto\objects\obj_dat.
    <div dir="ltr"><wbr>c:689:
      <br>
      error in req
      <br>
      OpenSSL>
      <br>
      <br>
      I have installed Win32OpenSSL 1.1.0, the big package.
      <br>
      <br>
      It would be great, if somebody could give me a hint in order to
      solve this problem.
      <br>
      <br>
      Many thanks in advance and best regards
      <br>
      Walter
    </div>
  </body>
</html>