Skip to content

Win_b64 Support  #49

@aollag09

Description

@aollag09

Hello

First thanks for this really funy and nice exemple to demonstrate the power of Kafka & Confluent with ElasticSearch !

However, I had some troubles to install it on a Windows environment.
Your ./script/start.sh fails with MINGW64.

Indeed the script certs-create.sh fails because of the command that generates the CA Key :

# Generate CA key openssl req -new -x509 -keyout snakeoil-ca-1.key -out snakeoil-ca-1.crt -days 365 -subj '/CN=ca1.test.confluent.io/OU=TEST/O=CONFLUENT/L=PaloAlto/S=Ca/C=US' -passin pass:confluent -passout pass:confluent
Error is :
Subject does not start with '/'.

This is a common error when using the Git Bash in windows:
https://stackoverflow.com/questions/31506158/running-openssl-from-a-bash-script-on-windows-subject-does-not-start-with

A fix that work for me :
# Generate CA key openssl req -new -x509 -keyout snakeoil-ca-1.key -out snakeoil-ca-1.crt -days 365 -subj '//CN=ca1.test.confluent.io\OU=TEST\O=CONFLUENT\L=PaloAlto\S=Ca\C=US' -passin pass:confluent -passout pass:confluent

Ciao

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions