realpython / realpython/materials

sh script not running

Open
#367 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5.2k
Forks
5.3k
Avg merge
4d 10h
Merged PRs (30d)
10

Description

ℹ️ Please note that the best way to get support for Real Python courses & articles is to join one of our weekly Office Hours calls or in the RP Community Slack.

You can report issues and problems here, but we typically won't be able to provide 1:1 support outside the channels listed above.

Describe the bug
$ ./build_and_run.sh
Generating a RSA private key
................................................................................
..........................................++++
................................................................................
.................++++
writing new private key to 'ca.key'

name is expected to be in the format /type0=value0/type1=value1/type2=... where
characters may be escaped by . This name is not in that format: 'C:/Program Fil
es/Git/O=me'
problems making Certificate Request
Generating a RSA private key
....................................................................++++
................................................................................
..........++++
writing new private key to 'client.key'

name is expected to be in the format /type0=value0/type1=value1/type2=... where
characters may be escaped by . This name is not in that format: 'C:/Program Fil
es/Git/CN=marketplace'
problems making Certificate Request
Generating a RSA private key
..........................................................++++
................................................................................
..............................................++++
writing new private key to 'server.key'

name is expected to be in the format /type0=value0/type1=value1/type2=... where
characters may be escaped by . This name is not in that format: 'C:/Program Fil
es/Git/CN=recommendations'
problems making Certificate Request
Can't open client.csr for reading, No such file or directory
19404:error:02001002:system library:fopen:No such file or directory:../openssl-1.1.1s/crypto/bio/bss_file.c:69:fopen('client.csr','r')
19404:error:2006D080:BIO routines:BIO_new_file:no such file:../openssl-1.1.1s/crypto/bio/bss_file.c:76:
Can't open server.csr for reading, No such file or directory
19660:error:02001002:system library:fopen:No such file or directory:../openssl-1.1.1s/crypto/bio/bss_file.c:69:fopen('server.csr','r')
19660:error:2006D080:BIO routines:BIO_new_file:no such file:../openssl-1.1.1s/crypto/bio/bss_file.c:76:

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with build_and_run.sh and inspect the OpenSSL certificate-generation commands run by ./build_and_run.sh; reproduce the failure in the environment shown by the log, including the Git path in the OpenSSL error. Done means the script completes without CSR or file-read errors and generates the expected certificate files.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.