Comments (1)
Hi,
Are you able to demonstrate some code where you are experiencing these errors? I'm not able to replicate your error without deliberately adding invalid characters. For example, the following works to create a new order,
package main
import (
"crypto/ecdsa"
"crypto/elliptic"
cryptorand "crypto/rand"
"log"
"github.com/eggsampler/acme/v2"
)
func main() {
accountKey, err := ecdsa.GenerateKey(elliptic.P256(), cryptorand.Reader)
if err != nil {
log.Fatalf("error creating account private key: %v", err)
}
client, err := acme.NewClient("https://acme-staging-v02.api.letsencrypt.org/directory")
if err != nil {
log.Fatalf("error creating client: %v", err)
}
account, err := client.NewAccount(accountKey, false, true)
if err != nil {
log.Fatalf("error creating new account: %v", err)
}
order, err := client.NewOrderDomains(account, "aaa.com", "*.aaa.com")
if err != nil {
log.Fatalf("error creating order: %v", err)
}
log.Printf("order created: %+v", order)
}
from acme.
Related Issues (13)
- feature: http handler integration like golang.org/x/crypto/acme/autocert HOT 2
- ./certbot.go:227:38: not enough arguments in call to client.UpdateAccount HOT 2
- Run demo to display this error HOT 2
- NewOrder fails agains pebble HOT 3
- DNS-challenge HOT 3
- Add semantic versioning for releases HOT 1
- Implement ACME "dns-account-01" Challenge HOT 1
- Renewal HowTo HOT 1
- Separate & generify tests
- Implement CI for tests & releases
- certbot example app HOT 1
- How to specify InsecureSkipVerify when connecting to Pebble client for development? HOT 3
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 acme.