Comments (6)
Did you follow these steps (https://github.com/maakbaas/esp8266-iot-framework/blob/master/docs/fetch.md#code-generation) to set a correct OpenSSL location in the Python script? Can you check that the current Windows user has the correct permissions to execute this application?
from esp8266-iot-framework.
Yes I have double checked the settings
#path to openssl
openssl = "C:\\mypath\\of\\openssl"
and I tried with two different versions of openssl.exe executables, in different paths.
The problem is the same, but I have note that doesn't always stop at the same point.
Skipped: GoDaddy:The Go Daddy Group, Inc.:Go Daddy Class 2 Certification Authority
Skipped: GoDaddy:GoDaddy.com, Inc.:
PermissionError: [WinError 5] Access is denied:
Skipped: GoDaddy:Starfield Technologies, Inc.:Starfield Class 2 Certification Authority
File "C:\users\claudio\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 178:
Skipped: GoDaddy:Starfield Technologies, Inc.:
env.SConscript(item, exports="env")
Added: Google Trust Services LLC (GTS):GlobalSign:GlobalSign Root CA - R2
File "C:\Users\Claudio\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\Claudio\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 287:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "D:\IOT PlatformIO\esp8266-iot-framework\scripts\preBuild.py", line 49:
preBuildCertificatesFun(domains)
File "D:\IOT PlatformIO\esp8266-iot-framework\scripts\preBuildCertificates.py", line 122:
ssl = Popen([openssl,'x509','-inform','PEM','-outform','DER','-out', certName + '.der'], shell = False, stdin = PIPE)
File "C:\Users\Claudio\.platformio\python3\lib\subprocess.py", line 800:
restore_signals, start_new_session)
File "C:\Users\Claudio\.platformio\python3\lib\subprocess.py", line 1207:
startupinfo)
A question :
try the code to connect the internet during this process ? It can be the lowest of my internet band ?
Thanks.
from esp8266-iot-framework.
I have tried removing the -DOMAINLIST flag.
The procedure stop trying to add the first certificate.
Start building certificate store
For all domains
Added: AC Camerfirma, S.A.:AC Camerfirma SA CIF A82743287:http://www.chambersign.org
PermissionError: [WinError 5] Access is denied:
File "C:\users\claudio\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 178:
env.SConscript(item, exports="env")
File "C:\Users\Claudio\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\Claudio\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 287:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "D:\IOT PlatformIO\esp8266-iot-framework\scripts\preBuild.py", line 49:
preBuildCertificatesFun(domains)
File "D:\IOT PlatformIO\esp8266-iot-framework\scripts\preBuildCertificates.py", line 122:
ssl = Popen([openssl,'x509','-inform','PEM','-outform','DER','-out', certName + '.der'], shell = False, stdin = PIPE)
File "C:\Users\Claudio\.platformio\python3\lib\subprocess.py", line 800:
restore_signals, start_new_session)
File "C:\Users\Claudio\.platformio\python3\lib\subprocess.py", line 1207:
startupinfo)
I'm admin of my machine.
from esp8266-iot-framework.
I can reproduce this on my side, if I take away the execute rights from the openssl.exe.
Since this is a Python error that can only mean this one thing I am quite sure that this is the issue in your case as well. Please check that administrators have execute access for this binary.
Added: Google Trust Services LLC (GTS):GlobalSign:GlobalSign Root CA - R2
PermissionError: [WinError 5] Access is denied:
File "C:\users\johannes\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 178:
env.SConscript(item, exports="env")
File "C:\Users\Johannes\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\Johannes\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 287:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "D:\Johannes\Maker\Framework\scripts\preBuild.py", line 49:
preBuildCertificatesFun(domains)
File "D:\Johannes\Maker\Framework\scripts\preBuildCertificates.py", line 122:
ssl = Popen([openssl,'x509','-inform','PEM','-outform','DER','-out', certName + '.der'], shell = False, stdin = PIPE)
File "C:\Users\Johannes\.platformio\python3\lib\subprocess.py", line 800:
restore_signals, start_new_session)
File "C:\Users\Johannes\.platformio\python3\lib\subprocess.py", line 1207:
startupinfo)
from esp8266-iot-framework.
It is not a bug. I want to explain what happened.
Your code into prebuildCertificates.py say:
#path to openssl
openssl = "C:/msys32/usr/bin/openssl"
I changed with my path only without the executable name.
I swapped the final openssl as part of the path and not as the executable name,
also because in the comment it says "path" and not "fullname", and it is missing the .exe extension.
But it work as the same.
Sorry for wasting your time, but your code is very interesting and very well written.
Thanks for your fantastic support.
from esp8266-iot-framework.
I'm glad you figured it out
from esp8266-iot-framework.
Related Issues (20)
- Holding connections open for long periods of time HOT 4
- Event on Dashboard Change HOT 12
- Detect if captive portal is running and WiFi is in Ad-hoc mode HOT 3
- Separator and titol in config page HOT 1
- Enhancement: Adding "label" in dashboard HOT 4
- mDNS not working HOT 1
- Error when run "npm ci" HOT 7
- Failing at Step 9. HOT 3
- WiFi passwords including "+" not working HOT 3
- 403 Forbidden response to GET request HOT 1
- Dependency issues in library HOT 4
- Request: click button in dashboard HOT 1
- WIFI reconnect HOT 1
- The cipher AES128-SHA is not supported for TLSv1.2. HOT 5
- Import issue Arduino IDE 2.1.1 HOT 3
- html.h not being rebuild HOT 1
- ssl.wrap_socket() gots removed within python 3.12
- Json name with spaces HOT 1
- Missing dependancy HOT 1
- Upload empty file failes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp8266-iot-framework.