Describe the problem/error/question
I’m looking to interact with the Bokun API.
To connect, I need to create a signature called X-Bokun-Signature in their documentation, which involves concatenating a number of parameters into a string, hashing it with SHA-1 and encoding it in BASE64. This is where I get stuck.
I’ve seen that a “Crypto” node lets me do this, but I’ve tried several times and I get an error message:
ERROR: error:1E08010C:DECODER routines::unsupported
What is the error message (if any)?
Please share your workflow
I’ll share just below the configuration I tried to build. You normally have all the necessary parameters, namely :
- date and time in the right format
- the
Access keygiven by Bokun - the HTTP method used (here GET)
- the path to the web service called (/booking.json/booking/ECO-36152541)
This is the key I need to hash, then encode. You have the concat variable in the “Set” node.
The secret key used to hash the string is visible in the “Crypto” node, Private Key parameter.
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.18.2
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system: Mac OS

